Add 'circleCIMode' option to include file attribute in each <testsuite> tag#170
Open
jpdillingham wants to merge 4 commits intomichaelleeallen:masterfrom
Open
Add 'circleCIMode' option to include file attribute in each <testsuite> tag#170jpdillingham wants to merge 4 commits intomichaelleeallen:masterfrom
jpdillingham wants to merge 4 commits intomichaelleeallen:masterfrom
Conversation
jpdillingham
commented
May 18, 2022
| timestamp: "1970-01-01T00:00:00", // ISO timestamp truncated to the second | ||
| tests: "0", | ||
| failures: "0", | ||
| file: "spec.js", |
Author
There was a problem hiding this comment.
note that the existing behavior passes through a file attribute for the root suite as is, but the mock result data didn't reflect it because the test setup doesn't set the file property on the root Mocha.Suite object
|
@jpdillingham did you ever get any luck getting any traction on this? |
Author
|
We were using our internally forked version, here: https://github.com/latticehr/mocha-junit-reporter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enables Circle CI to ingest test results and display a filename for each failing test.
With the attribute present, Circle CI displays:
With the attribute missing, Circle CI displays (ignore the different test, the filename is missing):
Circle CI documentation on this feature can be found here: https://circleci.com/docs/2.0/collect-test-data/