I have multiple fixtures (interaction between a website and a hybrid app) and I would like to have a test suite run (Smoke test, regression test ...) but I'm not sure how to do it.
This is how my tests look like:
What I want to do is run all tests (eg. CreatePollAndCloseIt.js, CreatePollPinAndDelete.js, CreateStreamAssertions.js and so on until the last one VotePollWhitelabel ) and get a report after.
Thank you!
You can run all your tests by specifying the parent folder of your test file. For example you can run all your Mobile Tests
with the command:
testcafe chrome <path>/MobileTests
Also it's possible to reorganize your folder structure, eg:
- Mobile - Smoke - Regression
In this case you can run your test suites via following commands:
testcafe chrome <path>/Mobile
- for all teststestcafe chrome <path>/Mobile/Smoke
- only smoketestcafe chrome <path>/Mobile/Regression
- only regressionAnother way to organize the test-suites is using the testing metadata. Please refer to the following articles to get the details:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With