caolan / caolan/nodeunit

Reporter files should be named according template or name inside file

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.