difference running test from maven vs cucumber test runner

Solutions on MaxInterview for difference running test from maven vs cucumber test runner by the best coders in the world

showing results for - "difference running test from maven vs cucumber test runner"
Luka
23 May 2016
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'.