Software Quality Assurance & Testing Asked by Sachintha on January 6, 2022
In my project, I create simple feature file in my maven project using cucumber syntax.
but IntelliJ IDEA, not highlight steps in feature file and also I cant use ALT+ENTER key to create step definition
I added the cucumber-java dependencies and also installed the Gherkin and cucumber plugins, but still feature files aren’t recognized as they should be. What could be the problem?
In the TestRunner.java file. I added the following code: "stepNotifications = true"
package cucumberOptions; import org.junit.runner.RunWith; import io.cucumber.junit.Cucumber; import io.cucumber.junit.CucumberOptions;
@RunWith(Cucumber.class) @CucumberOptions( features="src/test/java/features/Login.feature", glue="stepDefinations", stepNotifications = true) public class TestRunner {
}
Answered by Wilson Manuel Rojas on January 6, 2022
I too get same problem when tried to create from the scratch. I have found this solution
Hope this helps....
Answered by Sowji on January 6, 2022
2 Asked on November 30, 2021
1 Asked on November 28, 2021 by denis-filatov
1 Asked on November 28, 2021 by saloni-singhal
2 Asked on November 25, 2021
cross browser testing manual testing mobile mobile applications
1 Asked on November 23, 2021
1 Asked on November 21, 2021 by rohan-kalia
2 Asked on November 19, 2021 by nizariansyah-agung
5 Asked on November 15, 2021 by alexey-r
2 Asked on November 11, 2021 by prinz
load testing manual testing mobile applications performance testing
2 Asked on November 11, 2021
4 Asked on October 25, 2021 by gb2d
4 Asked on October 25, 2021 by jainam
1 Asked on October 25, 2021
1 Asked on October 25, 2021
1 Asked on October 25, 2021 by markus-pallasch
1 Asked on October 25, 2021 by ganvartin
2 Asked on October 25, 2021 by wally-hartshorn
Get help from others!
Recent Answers
Recent Questions
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP