Replies: 1 comment
-
You can run projects with vitest run --project=frontend --reporter=blob --outputFile=reports/frontent.json
vitest run --project=backend --reporter=blob --outputFile=reports/backend.json
vitest run --project=utils --reporter=blob --outputFile=reports/utils.json
vitest run --merge-reports=./reports |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Vitest-Team,
I'm struggling a little with Projects and Coverage.
Simplified we have a monorepo with three Projects:
And a Jenkins-Pipeline with the same three steps in this sequence:
Up to now the coverage was determined separately (also in separated folders) in the steps itself.
But now I have read in your documentation that with the new defineProject I cannot define the coverage separately for the projects, only globally, like this:
I don't see straight a way to get the coverage only for one project. But in our case, it is meaningful to run the tests one after the other.
Would you recommend running the steps than without coverage and adding an extra step only for all global coverage? Or am I just overlooking something?
Best regards,
ElSuture
Beta Was this translation helpful? Give feedback.
All reactions