I have a story with parameters:
Given save in the <fileName> the data from <sqlQuery>
Then...
Examples:
fileName |sqlQuery
file.txt |query1
I run my test on particular environment with maven -Denvironment=DEV
. Now I would like to run this test on UAT using -Denvironment=UAT
but the problem is that the sqlQuery is different then. How to indicate in the java code that if -Denvironment=DEV
then use query1 but if -Denvironment=UAT
then use query2 using JBEHAVE stories?
Does anyone cen help me with that?
Aucun commentaire:
Enregistrer un commentaire