Unselected Test Suite Being Run
See original GitHub issueIf you have multiple test suites in a project, and one happens to be the substring of another, then the running the substring one will cause both to be picked up. So in the following example (see the screenshot) if I run invoices.json
then changelog_header_invoices.json
will also be picked up.
The steps above should make this straightforward to reproduce. We’ve seen the issue on two MacOS boxes running Big Sur 11.5.1 and Puppetry v3.2.5.
I have a feeling this is related to the fact that jest
accepts a regex pattern by default, not a specific filename.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Running of unselected test-case · Issue #1571 - GitHub
Hi I regularly catch the problem, which can be reproduced sometimes by this steps to reproduce: Autosave is ON Select test-case in RIDE...
Read more >When a test case is failed in Test Suite, All other test cases ...
As test cases are dependent on each other in a test suite, if a test case gets failed all of the remaining test...
Read more >Check 0.15.2: 4 Advanced Features
The unchecked teardown() , if defined, is run after the test case is done. An unchecked teardown() fixture will run even if a...
Read more >Why pytest deselect all the tests when run with python -m test?
You're using -m which filters which tests to run according to how you mark your tests. You're telling pytest to only run tests...
Read more >"Run Unit Tests" doesn't ignore projects not selected to build
These projects are not supposed to be built, because they are deselected to build for the project configuration.
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 FreeTop 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
Top GitHub Comments
just committed the fix, will be published with the next release.
Oh, I got it now. While the export it’s as I explained, but when you run the tests from the app it doesn’t clean the directory - I’m on it.