nodeunit
nodeunit copied to clipboard
Reporter files should be named according template or name inside file
We have a test directory including many folders that follow the same naming pattern. So each folder contains an indexTest.js.
When running nodeunit on the complete directory with the junit reporter the report always gets the name of the file as .xml file. This results in an overwrite of the file each time, thus missing results of all the other tests with the same name.
It would be nice if we can specify a template for the outputted file or that we can specify the name in the test file itsef, e.g. by using module.name.