Ask a Question

Values in Maven Profile when using Cucumber Java with TestNG

erodzrivera
Occasional Visitor

Values in Maven Profile when using Cucumber Java with TestNG

I am using Cucumber Java with TestNG and found that when I run the test from the feature file, values from the Maven profiles are not picked up. If I run it from the test runner class, they are. Is there some best practice or approach I need to follow for these values to be accessible in both ways? I am using surefire at the moment.

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: