Scenario
We are trying to use the Node.js QUnit Module aka qunitjs for our Server-Side Testing so that we can write one test and run it on both server and client e.g: https://github.com/nelsonic/learn-tdd/blob/master/test.js
When we run a single file using the command:
node test/my_test.js
It works as expected.
However, when we have more than one test in a /test directory and try to run all the files as a suite using the following command:
node test/*.js
only the first file (alphabetically) gets executed.
see: https://github.com/nelsonic/hapi-socketio-redis-chat-example/tree/master/test
Question
How do we execute multiple test files with a single command?
We tried to dig through existing StackOverflow + GitHub Q/A for this but did not find any match. (any suggestions/help much appreciated!)