Forum Discussion
ChrisAdams
2 years agoChampion Level 3
You have a few ways you can do this.
Use Test Suites : You could arrange your tests into two different test suites. One suite called 'Dev' and the other called 'QA'. This doesn't stop you running the Dev test suite against the QA environment though! The other downside is that you might actually have tests you want to run against both environments. It's not ideal to have two copies of the same test, so maybe a third test suite called 'All Environments'?
At a test case level, you could also use a Groovy script to check the env and then decide whether to run or skip.
I'd be interested to hear other suggestions.
Related Content
Recent Discussions
- 22 days ago