Watch mode filter by filename and by test name
See original GitHub issueava@0.22
borrow the idea from jest
:
Watch Usage
› Press p to filter by a filename regex pattern.
› Press t to filter by a test name regex pattern.
› Press q to quit watch mode.
› Press Enter to trigger a test run.
These two features are very valuable. They allow me to focus on a subset of tests when I am working on a specific part of the system.
There is a $80.00 open bounty on this issue. Add more on Issuehunt.
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on Issuehunt to raise funds.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Filter tests by filename in watch mode · Issue #1797 - GitHub
As a developer using Vitest I want to have the option to filter test by filename in watch mode so that I can...
Read more >Watch mode filter by filename and by test name #1530
Enter reruns the filtered list of tests. They use a to rerun all tests. posted by unional about 5 years ago. Enter reruns...
Read more >Jest CLI filtering tests does not show matching files
In some cases, I can't figure out which, I can't get filtered tests to show up in the Jest CLI. That is, if...
Read more >jest: watch mode - code-comments
To run Jest in watch mode, pass the --watch option: % jest --watch ... Press t to filter by a test name regex...
Read more >Watch-mode · GitBook - GitHub Pages
From now on Jest will run test cases again on file changes ... Press t to filter by a test name regex pattern....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sounds like we should borrow that too 😉
Ok sounds good, I’ve managed to get something working for filtering by filename, I’m just working on filtering for test names