I am currently developing nodeunit tests and I came across a problem.
I have a folder named "Unit_tests"
In this folder, I have a testIitializer.js file that contains 2 methods:
init and the term .
These methods should be run only once and only at the beginning and at the end of all other tests. Other tests are in separate folders under the root "Unit_tests".
How can I make sure this file is run first .
At the moment, this happens mainly, but in some cases it is not. Is there a way in webstormto make sure it works first?
Thank you very much in advance!
source
share