How can I run multiple QUnit test files (node.js) with a single command?
Scenario
We are trying to use 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 one file using the command:
node test/my_test.js
Works as expected.
However, when we have more than one test in / test and try to run all files as a suite using the following command:
node test/*.js
only the first file (in alphabetical order) is executed.
see https://github.com/nelsonic/hapi-socketio-redis-chat-example/tree/master/test
Question
How do I execute multiple test files with a single command ?
We tried to break through the existing StackOverflow + GitHub Q / A for this, but found no match. (any suggestions / help is greatly appreciated!)
source to share
No one has answered this question yet
See similar questions:
or similar: