Forum Discussion
- ChrisAdamsChampion 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.
- nmraoChampion Level 3
Another simplest would be to use Tags feature.
- ChrisAdamsChampion Level 3
Tags? Never heard of them! I'm going to try and find those.
- ignaciodeaOccasional Contributor
I'm starting experimenting with this. We use Azure Repos and receive error 'failed to create tag. Tag on repository without Head currently not supported'. Any idea what the reasons is?
Related Content
Recent Discussions
- 17 hours ago
- 17 days ago