{"library":"node-red-node-test-helper","type":"library","category":null,"description":"The Node-RED Node Test Helper is a comprehensive framework designed for unit testing Node-RED nodes and flows. It enables developers to start a dedicated Node-RED runtime instance within their test environment, load specific test flows, and simulate message injection and reception to verify node behavior. The current stable version is 0.3.6, with regular maintenance updates including dependency bumps and minor feature enhancements. This helper differentiates itself by integrating directly with the Node-RED runtime, providing a realistic testing environment that goes beyond simple JavaScript unit tests, ensuring nodes function correctly within the flow-based programming paradigm. It is an essential tool for maintaining the quality and reliability of custom Node-RED nodes.","language":"javascript","status":"active","version":"0.3.6","tags":["javascript","test","iot","node-red"],"install":[{"cmd":"npm install node-red-node-test-helper","imports":["import helper from 'node-red-node-test-helper';","const helper = require('node-red-node-test-helper');","helper.init(require.resolve('node-red'));"]},{"cmd":"yarn add node-red-node-test-helper","imports":[]},{"cmd":"pnpm add node-red-node-test-helper","imports":[]}],"homepage":"https://nodered.org","github":"https://github.com/node-red/node-red-node-test-helper","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/node-red-node-test-helper","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/node-red-node-test-helper/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}