Top-level run tests button doesn't always run all tests #775
CodeSmith32
started this conversation in
Feedback
Replies: 4 comments 6 replies
-
|
Is this the same issue? #772 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Seems like there was an update in vscode that broke one of the assumptions this extension made. I need some time to reproduce and figure out the fix |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I cannot reproduce this, it seems like the button provides different |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed that, every so often, I hit "Run All Tests" and it does not run all tests. It runs most tests, but I see a bunch that were skipped.
I have 2600+ tests. A moment ago, I tried running all tests, and only 692 (I believe) tests ran. But it said 692/692, making it appear as if all ran through successfully. Following this, I ran
npx vitestand it ran through all 2600+ tests.Since the tests are collapsed into folders, and since the "skipped" status doesn't propagate upward, I can't even use this extension because I can't trust that it actually ran all tests unless I either know the exact number of tests I have at all times, or unless I manually expand the tree until I see that no leaf node was "skipped", which is tedious for a lot of tests.
Am I just missing some "Don't actually run all tests" option? Or is this a bug?
I wish I could narrow it down to a specific time that this occurs. What I can say is, the computer I'm running these tests on is a bit short on RAM, which may contribute, but should not have the effect of making the extension completely unreliable. i.e., If after clicking "Run All" it fails to actually run all, simply because it can't, I need to at least know it didn't run all, so I can run it again.
Beta Was this translation helpful? Give feedback.
All reactions