1What is the different between running a test from maven
2and cucumber test runner class?
3
4In my project I use cucumber + Junit. to generate reports,
5I use maven-cucumber-reporting.
6This report is only generated when I run my test as a maven
7lifecycle verify. Becuase this is how it works according to
8its configuration.
9So if I run my test from runner file, it does not trigger
10the maven lifecycle. It only runs that test. In order to
11run any maven lifecycle we have to run as a maven command
12which starts with 'mvn'.
1In my project I use cucumber + Junit.
2to generate reports, I use maven-cucumber-reporting.
3This report is only generated when I run my test
4as a maven lifecycle verify. Becuase this is
5how it works according to its configuration.
6So if I run my test from runner file, it does not
7trigger the maven lifecycle. It only runs that test.
8In order to run any maven lifecycle we have to run
9as a maven command which starts with 'mvn'.