Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test autorun status is lost when tests fail to compile #227

Open
fefrei opened this issue Nov 29, 2022 · 0 comments
Open

Test autorun status is lost when tests fail to compile #227

fefrei opened this issue Nov 29, 2022 · 0 comments

Comments

@fefrei
Copy link

fefrei commented Nov 29, 2022

I'm often running into this scenario:

  • I'm developing code, with all tests set to autorun mode.
  • Eventually, I decide I need to add a new test.
  • While writing the test, the file (auto-)saves in a state that contains some error, e.g. a syntax error.
  • The tests are automatically reloaded, and the Testing activity shows an error state.
  • As I finish writing the test, the tests are reloaded again, populating the Testing activity again.

At this point, all tests are no longer set to autorun, and I need three clicks to re-enable autorun for all tests and trigger the first run.

I understand remembering the autorun state is difficult as the tests briefly cannot be found anymore, but it'd be really helpful if the Mocha test adapter could remember the auto run state, or at least remember when autorun was enabled for all tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant