Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JUnit reporter does not output time #275 #283

Merged
merged 2 commits into from
Oct 23, 2017

Conversation

hugosenari
Copy link
Contributor

Simple implementation, that works.

- Convert curModule.testcases from array to dictionary;
- Set 'start' end 'end' at suites and testcases;
- Using suites as dictionary;
- Using start, end to print time attributes in testsuite and testcase.
@noseglid
Copy link

+1 I've been wanting this!

@@ -108,13 +108,21 @@ exports.run = function (files, opts, callback) {
errorCount: 0,
failureCount: 0,
tests: 0,
testcases: [],
name: name
testcases: {},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hugosenari sorry this took so long. Why converting from array to dictionary here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because is more easy to find them again later at testDone

@chasdevs
Copy link

Any hope for this being merged? It'd be useful for our legacy project which uses nodeunit on circle-ci.

@mreinstein mreinstein merged commit 72e6563 into caolan:master Oct 23, 2017
@chasdevs
Copy link

Awesome! Could we get a publish, too?

iminyukov pushed a commit to iminyukov/nodeunit that referenced this pull request Apr 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants