samedi 24 août 2019

How to run specific test class basis system property 'environment'?

Consider different set of smoke tests to be run in test and prod environments. I've configured the build to hit respective profile to run smoke tests. This build provides the environment as parameter. Is there a way to trigger correct Tests (for example ex: one out of SmokeTestEnvTests.java and SmokeProdEnvTests.java) using this environment system property?

Aucun commentaire:

Enregistrer un commentaire