[test-runner] allow excluding test files
See original GitHub issueNegations in globs is a pretty hard syntax. We should support include/exclude patterns:
export default {
files: {
include: 'test/**/*.test.js',
exclude: 'test/**/*.bar.test.js'
}
}
Issue Analytics
- State:
- Created 3 years ago
- Reactions:7
- Comments:9 (6 by maintainers)
Top Results From Across the Web
How to exclude certain tests in the Visual Studio Test Runner?
Most of my tests are normal unit tests and I do want them to run on every build. So: how can I exclude...
Read more >TestRunner | ReadyAPI Documentation - SmartBear Support
The test runner allows you to run functional tests and export results. You can start the runner from the command line or from...
Read more >Test Runner: CLI and Configuration - Modern Web
Excluding files. Use a negated glob pattern to exclude test files export default { files: [ ...
Read more >Maven Surefire Plugin – Inclusions and Exclusions of Tests
There are certain times when some tests are causing the build to fail. Excluding them is one of the best workarounds to continue...
Read more >3. The Command-Line Test Runner — PHPUnit 9.5 Manual
Let's take a look at the command-line test runner's options in the following ... Ignore code coverage configuration Logging Options: --log-junit <file> Log ......
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
You can use glob negations, but the way we’re currently processing the glob strings means the negations are ineffective.
We could really use this capability to help separate our integration / unit tests.
Yeah, we’re having the same problem.