-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
The short version:
Clicking on the Start Continuous Run button on the Test Explorer pane causes [info] Continuous run enabled for undefined to show in logs, and no test are executed. When in List View I cannot start a file-level continuous run.
The workaround is to:
- Switch to the Tree View
- Start the continuous run on the file instead of on the Test Explorer panel.
- Switch to the List View
The long version
The Test Explorer window has two ways to display test results: Tree and List. You can select which one you want via the three-dot menu on the 'Test Explorer' panel.
When in tree view you have two ways to start a continuous run. The Test Explorer only allows one continuous run at a time.
- At the Test Explorer level at the very top of the pane.
- Somewhere in the hierarchy of tests, such as at the top file level or deeper within the tree.
Option 2 works great and I love it. Sometimes I want to view my tests by list instead, and in that view I can only start a continuous run for individual tests.
I would like to be able to use Option 1 in this situation. When I click the Test Explorer continuous run button nothing appears to happen. In the output for the extension I see
[info] Continuous run enabled for undefined
[info] Continuous run was disabled for undefined
Toggling it at the file level I see
[info] Continuous run enabled for C:\GIT\TERRAFORM-ACTIONS\SRC\TERRAFORMWRAPPER.TESTS.PS1
[info] Continuous run was disabled for C:\GIT\TERRAFORM-ACTIONS\SRC\TERRAFORMWRAPPER.TESTS.PS1
Toggling it at the individual test level I see
[info] Continuous run enabled for C:\GIT\TERRAFORM-ACTIONS\SRC\TERRAFORMWRAPPER.TESTS.PS1>>GET-TFCOMMANDNAME>>WITH WRAPPER>>ASKS FOR AND GETS THE WRAPPER
[info] Continuous run was disabled for C:\GIT\TERRAFORM-ACTIONS\SRC\TERRAFORMWRAPPER.TESTS.PS1>>GET-TFCOMMANDNAME>>WITH WRAPPER>>ASKS FOR AND GETS THE WRAPPER
Other test extensions such as vitest seem to support this, so maybe this is just a matter of passing the right value through?
Possibly related to #163 maybe?
Priority
This is absolutely not urgent as I have a trivial workaround, just wanted to document it. Thank you for maintaining such a useful extension!

