Detox
Detox copied to clipboard
Possibility to create tags to run test suite that contain specific tag.
Describe your idea
Today it's possible to run suite tests by just passing the path e2e/my-test/login
, however, I wanted to be able to tag my test suite like we have in Maestro
https://maestro.mobile.dev/cli/tags
For example, sometimes I wanted to run tests for Pull Requests, which is just some specific tests, I also would like to have the nightly tag to run by cron all the tests.
I know I can create a naming convention for the folders like e2e/nightly
. However some tests I would like to have 2 or more tags, to be more flexible.
Example
-
detox test --c myconfig --tag pull-request
-
detox test --c myconfig --tag pull-request --tag another-tag
-
detox test --c myconfig --tag nightly