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

Running subsets of supertest tests #789

Open
theRealJoru opened this issue Sep 22, 2022 · 0 comments
Open

Running subsets of supertest tests #789

theRealJoru opened this issue Sep 22, 2022 · 0 comments

Comments

@theRealJoru
Copy link

theRealJoru commented Sep 22, 2022

I haven't been able to find any detail re running subsets of SuperTest tests. We currently run subsets of (Selenium) UI tests using feature @tags set with ~config.js. Is there something similar in Supertest? Ideally I wouldn't have to add more scripts to package.json to do this. @tags would be a great feature addition? Apologies if this is the wrong forum for this question.

UPDATE: I've found a few options (see below links), but still not something as flexible as a @tag approach...

https://jaketrent.com/post/run-single-mocha-test/
https://stackoverflow.com/questions/10753288/how-to-specify-test-directory-for-mocha
https://stackoverflow.com/questions/22936728/running-test-cases-selectively-with-mocha

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