node-red / node-red-node-test-helper

A test framework for Node-RED nodes
Apache License 2.0
57 stars 41 forks source link

Title of "Receiving messages from nodes" section #37

Open kolban-google opened 5 years ago

kolban-google commented 5 years ago

In the README, there is a section that is titled "Receiving messages from nodes". This talks about the function called receive which can be called on a node object to simulate the invocation of that node with a new event/message. What we are saying is that we want the node to "receive" a new message. This all makes sense.

However, my issue is the title of the section ... again it is called "Receiving messages from nodes". My thinking is that what we are actually doing here is "Sending messages to nodes". While the actual API we invoke is "receive" the semantics are "send". I am wondering if "Sending messages to nodes" might not be a better title for this section?