Skip to content
Discussion options

You must be logged in to vote

Absolutely not.

Here is the main issue and why that is the case.

As you know, you can configure jest-junit to set suiteNameTemplate, className, etc so that your junit file is configured the way you want.

Each of those test suites and test cases now are essentially a unique identifier.

Many people ingest junit files into tooling to keep track of tests over time, so stability of identifiers matter.

So why is this a problem?

Well if you enable reportTestSuiteErrors and a test suite fails to load, we have to default to using file path as the identifier. If you aren't already configuring your test suites to utilize file path then we've effectively just introduced a new unique identifier you ma…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Niallfitzy1
Comment options

@palmerj3
Comment options

Answer selected by palmerj3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants