-
Notifications
You must be signed in to change notification settings - Fork 8
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
Testing in isolation #57
Comments
You can do that by creating a |
Hey @connor4312, I've been doing that as a workaround; setting it up is a real pain. Tracking changes and resetting would definitely work in some cases, but as far as I know, we cannot programmatically deactivate an extension, so that wouldn't work in the case outlined in my first message. As a side note, mocha's Anyway, just thought I'd leave this here as food for thought! |
|
Ah indeed, thanks for pointing it out! |
Feature request
It would be nice to be able to run all tests in isolation.
Ideally, every test would receive a fresh VS Code instance, free of any previous state.
Use case
When running tests that affect the state of VS Code, it can be cumbersome to ensure that some actions have a direct link to a desired state. For example, if you want to test whether opening files of a given type activates the extension, if you run these tests one after the other, the first test will trigger the activation, and subsequent tests will succeed because the previous test has activated the extension.
The text was updated successfully, but these errors were encountered: