MetaMask / MetaMask/core

It's difficult to run tests with coverage reports for all packages locally and review the results

Open
#4,394 0 comments 0 reactions 0 assignees View on GitHub
team-wallet-framework wf-ci-tooling
Dominant language
TypeScript
Stars
413
Forks
308
Avg merge
1d 4h
Merged PRs (30d)
253

Description

To run tests for all packages and see coverage reports, you can say:

```
yarn test:verbose
```

But this essentially runs a separate instance of `jest` per package. If any package fails — meaning that if any test for any package fails, or the coverage check fails — then you must scroll up to find which package failed.

It would be nice to be able to run tests for all packages still in parallel, but then combine results together and provide some kind of summary at the end. Perhaps this is something that can help: https://stackoverflow.com/a/62603091/260771

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `yarn test:verbose` command and inspect how it launches a separate Jest instance for each package. Review the linked Stack Overflow approach, then define a parallel run that combines coverage and test results into a final package-level failure summary; done means failures and coverage problems are visible without scrolling through the full output.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.