thing-it-device-test

0.0.12 • Public • Published

thing-it-device-test

NPM NPM

[thing-it-node] Test Device Plugin for complex tests on thing-it-node

The components

  • testDevice
  • testActor
  • testSensor

can be used as regular [thing-it-node] components, but also accessed centrally to drive behavior in a test suite, e.g.

var componentManager = require("../testDevice");

componentManager.getDevice('testDevice1');

componentManager.getActor('testDevice1', 'testActor1').on();

componentManager.getSensor('testDevice1', 'testSensor1').pushEvent({'click'});

which allows you to regression test [thing-it-node] configurations.

Package Sidebar

Install

npm i thing-it-device-test

Weekly Downloads

0

Version

0.0.12

License

MIT, EPL

Unpacked Size

77.2 kB

Total Files

18

Last publish

Collaborators

  • julianseibert
  • marcgille