You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When executing with "mvn verify" command no cucumber report getting generated. However when running mvn clean install command reports got generated.
I found after test execution phase- mvn verify is not even going until --- maven-cucumber-reporting:5.3.0:generate (execution) phase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.531 s - in com.abc.cucumber.Options.TestRunner
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ModlBddTest ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.548 s
[INFO] Finished at: 2020-07-12T21:24:02+05:30
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dev" could not be activated because it does not exist.
----------------- End ------------------------
Whereas when ran with -mvn clean install I saw report got generated as below-
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.982 s - in com.abc.TestRunner
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ModlBddTest ---
[INFO]
[INFO] --- maven-cucumber-reporting:5.3.0:generate (execution) @ ModlBddTest ---
[INFO] About to generate Cucumber report.
Jul 13, 2020 12:11:18 AM net.masterthought.cucumber.ReportParser parseJsonFiles
INFO: File 'xxx\target\cucumber-report.json' contains 1 features
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.093 s
[INFO] Finished at: 2020-07-13T00:11:19+05:30
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dev" could not be activated because it does not exist.
The text was updated successfully, but these errors were encountered:
When executing with "mvn verify" command no cucumber report getting generated. However when running mvn clean install command reports got generated.
I found after test execution phase- mvn verify is not even going until --- maven-cucumber-reporting:5.3.0:generate (execution) phase
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.531 s - in com.abc.cucumber.Options.TestRunner
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ModlBddTest ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.548 s
[INFO] Finished at: 2020-07-12T21:24:02+05:30
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dev" could not be activated because it does not exist.
----------------- End ------------------------
Whereas when ran with -mvn clean install I saw report got generated as below-
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.982 s - in com.abc.TestRunner
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ModlBddTest ---
[INFO]
[INFO] --- maven-cucumber-reporting:5.3.0:generate (execution) @ ModlBddTest ---
[INFO] About to generate Cucumber report.
Jul 13, 2020 12:11:18 AM net.masterthought.cucumber.ReportParser parseJsonFiles
INFO: File 'xxx\target\cucumber-report.json' contains 1 features
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.093 s
[INFO] Finished at: 2020-07-13T00:11:19+05:30
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "dev" could not be activated because it does not exist.
The text was updated successfully, but these errors were encountered: