vitest-dev / vitest-dev/vitest
Enable project filtering on vitest workspace scenarios
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17.1k
- Forks
- 2k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 94
Description
Clear and concise description of the problem
When working with Vitest UI on a monorepo it could be useful to be able to filter tests by project. This can make it easier to navigate through big projects with multiple tests.
Suggested solution
Add, for example a dropdown, where you can choose which projects you want to show. When filled, the tests list will only show tests assigned to selected projects.
Alternative
No response
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Vitest UI test list and the project assignments used for workspace scenarios; the issue names no files or tests. Trace how project information is exposed to the UI, then consider the work complete when selecting projects shows only tests assigned to those projects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100