-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to configure updating coverage report rather than overriding it #9492
Comments
You can use a separate An issue with just updating in place is that you can get stale coverage data (say you flip a |
@SimenB Hey, an alternative solution would be to allow generate a unique report name whenever the JestCLI is called many times. This way you would have many reports generated instead of a single report being overridden. A similar approach was already implemented in jest-junit by one of Knapsack Pro users. There is now flag In Knapsack Pro for Jest I use many times |
Isn't that the same thing as setting |
I think it would work if we could simply introduce additional option for Knapsack Pro to add a unique |
@SimenB @andrcuns I could implement generating unique From a big picture perspective do you think this is the right way? I can imagine someone else would like to use |
I think it would be easier to do in |
I've released @andrcuns @deser Here you can find an example of how to generate code coverage for Jest with Knapsack Pro Jest in Queue Mode: @SimenB I think this issue here can be closed assuming other people with a similar problem should also use custom |
This issue is stale because it has been open for 1 year with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 7 days with no activity. Please open a new issue if the issue is still relevant, linking to this one. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
馃殌 Feature Proposal
Here is ability to optimize running tests in CI utilizing https://knapsackpro.com/. It uses query mode to run series of test separately from in other ( literally running jest series of time instead one).
But here is issue with coverage in this case - it's being overridden, see KnapsackPro/knapsack-pro-jest#12
It would be nice if Jest could add a flag like
coverageUpdateExisting
which will update coverage file instead of replacing it.Motivation
To run series of test suites via series of jest calls.
The text was updated successfully, but these errors were encountered: