[英]Selenium Code (CUCUMBER) not getting executed on Intellij IDEA
When I run my Cucumber test runner file on Intellij IDEA, I am not able to see any output on the console except the message "Process finished with exit code 0".当我在 Intellij IDEA 上运行我的 Cucumber 测试运行程序文件时,我无法在控制台上看到任何 output,除了消息“进程完成,退出代码 0”。 The actual code will not run can anyone please help me?
实际代码将无法运行,任何人都可以帮助我吗?
mvn test error: mvn 测试错误:
Project structure:项目结构:
Entire Screenshot:整个截图:
There are several places to fix in your project:您的项目中有几个地方需要修复:
tests
but not in main
tests
中,但不要保留在main
中my.test.package
then your step definition code has to be placed either in my.test.package
or to the sub-packagesmy.test.package
中,那么您的步骤定义代码必须放在my.test.package
中或my.test.package
then your feature files have to be placed to the folder resources/my/test/package
or sub-folders.my.test.package
中,那么您的功能文件必须放置到文件夹resources/my/test/package
或子文件夹中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.