diff --git a/Testing.md b/Testing.md index 76f6894..9a5b7df 100644 --- a/Testing.md +++ b/Testing.md @@ -47,11 +47,11 @@ Test scripts for UI testing are in `test/editor` directory. *** -# Helper node +# Node Test Helper -## Helper node for Runtime and nodes -There is a helper script for testing a node `test/nodes/helper.js`. When testing a node, it is recommended to use this script. -Helper script can start Node-RED server, load a flow, and receive a payload from the previous node, etc. +In the core, there is a helper script for testing a node `test/nodes/helper.js`. This has also been made available in a separate module at https://github.com/node-red/node-red-node-test-helper for node contributors to make use of. This module will serve as a node test framework with associated documentation that we aim to improve over time. + +When testing a node, it is recommended to use this script. The test-helper can start Node-RED server, load a flow, and receive a payload from the previous node, etc. ### Starting a server `helper.startServer` starts a Node-RED server. To start a Node-RED server on each test case: