0.10.3 • Published 7 months ago

@gregoriusrippenstein/erlang-red-unittest v0.10.3

Weekly downloads
-
License
Don't do evil.
Repository
github
Last release
7 months ago

Unit testing nodes for Erlang-RED

Node-RED Nodes for testing flow correctness in the Erlang-RED project.

These could be thought of the first Erlang-RED-first nodes! They provided limited functionality within Node-RED as they deal with testing of node functionality and nodes are assumed to work in Node-RED.

Assert Nodes

There are five assert nodes defined to:

  • test whether a message contains the correct values (assert-values),
  • whether a msg object arrived (assert-success),
  • whether msg object was not received (assert-failure),
  • whether a node generated a status message (assert-status), and
  • whether a node generated a debug message (assert-debug)

Only the first three are partly implemented in Node-RED/NodeJS.

Their server-side implementations in Erlang-RED:

Admittedly the assert status node can be replaced by using a status node followed by an assert true node. These nodes provided the basis for the Erlang-RED project and therefore existed before any other nodes - hence the duplicity.

These nodes have been published because the Erlang-RED flow testsuite utilises them.

Artifacts

0.10.3

7 months ago

0.10.0

7 months ago

0.9.5

7 months ago

0.9.4

7 months ago

0.9.3

8 months ago

0.9.2

8 months ago

0.9.1

8 months ago