# Integration testing for node-red

**URL:** <https://discourse.nodered.org/t/integration-testing-for-node-red/50735>\
**Category:** General\
**Created:** [8 September 2021 03:04 UTC](https://discourse.nodered.org/t/integration-testing-for-node-red/50735 "2021-09-08T03:04:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiche](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chiche/32/35401_2.png) [@chiche](https://discourse.nodered.org/u/chiche)\
**Post date:** [8 September 2021 03:04 UTC](https://discourse.nodered.org/t/integration-testing-for-node-red/50735/1 "2021-09-08T03:04:59Z")

</div>

I want to do integration testing for my node on Node-red.  
Currently, I am doing the following:

1. Install nyc and start with nyc  
$npm i nyc --save node  
$nyc --reporter=html node red.js
2. Add, edit, delete nodes on the dashboard
3. Ctrl + C to close the process  
I check the coverage result but it shows no files covered.

What step did I do wrong?

 ![2021-09-08_100409](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8a3f9765c2b27618fc98a669ea1d01ae7a799a6c.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 November 2021 03:05 UTC](https://discourse.nodered.org/t/integration-testing-for-node-red/50735/2 "2021-11-07T03:05:08Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
