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

Don't run tests by default in UI mode #6513

Closed
4 tasks done
sazzer opened this issue Sep 15, 2024 · 2 comments
Closed
4 tasks done

Don't run tests by default in UI mode #6513

sazzer opened this issue Sep 15, 2024 · 2 comments

Comments

@sazzer
Copy link

sazzer commented Sep 15, 2024

Clear and concise description of the problem

When starting the UI mode for Vitest, it would be useful if there was an option for the tests to not all run immediately. This would then allow people to start the UI and run specific tests as they're being developed, without the cost of running them all first.

Suggested solution

A new command line flag to not run the tests on startup.

Alternative

No response

Additional context

This is mostly going to be useful for things like E2E tests where they can be slow/expensive to run.

Validations

@sheremet-va
Copy link
Member

sheremet-va commented Sep 15, 2024

There is already a flag for that: --standalone (https://vitest.dev/guide/cli.html#standalone)

@sheremet-va sheremet-va closed this as not planned Won't fix, can't repro, duplicate, stale Sep 15, 2024
@sazzer
Copy link
Author

sazzer commented Sep 15, 2024 via email

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

No branches or pull requests

2 participants