forwardemail / forwardemail/supertest

Running subsets of supertest tests

Open
#789 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
14.4k
Forks
782
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.