📜  maven 和 cucumber 测试运行器的区别 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:37.508000             🧑  作者: Mango

代码示例1
In my project I use cucumber + Junit. 
to generate reports, I use maven-cucumber-reporting.
This report is only generated when I run my test
as a maven lifecycle verify. Becuase this is
how it works according to its configuration. 
So if I run my test from runner file, it does not
trigger the maven lifecycle. It only runs that test. 
In order to run any maven lifecycle we have to run
as a maven command which starts with 'mvn'.