Running subsets of supertest tests
theRealJoru opened this issue · comments
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