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

How to launch each test file in a new VS Code instance? #484

Closed
ada-la opened this issue Aug 16, 2022 · 3 comments
Closed

How to launch each test file in a new VS Code instance? #484

ada-la opened this issue Aug 16, 2022 · 3 comments
Labels
help-wanted Extra attention is needed question Further information is requested

Comments

@ada-la
Copy link

ada-la commented Aug 16, 2022

Is it possible to do this? I'd like to launch and run each file in a new instance so that the tests have a clean slate each time.

@odockal
Copy link
Contributor

odockal commented Aug 23, 2022

I do not think that we have designed the extester to work this way. It based on mocha and is spawned per suite. But I believe that you could probably workaround this using one of two approaches. On github actions (for example) you could parametrized npm script to run ui tests on different configuration (test cases) or you could probably chain multiple setup-and-run commands in npm script - I am not sure this will work, you could probably try.

@mlorinc
Copy link
Contributor

mlorinc commented Aug 23, 2022

Also you could call Extester#runTests multiple times and pass file path as argument. However this approach does not work on all environments for reasons reported in #485.

@odockal odockal added help-wanted Extra attention is needed question Further information is requested labels Sep 20, 2022
@djelinek
Copy link
Collaborator

djelinek commented Jun 9, 2023

Closing - no issue activity for a long time. Feel free to reopen if needed.

@djelinek djelinek closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants