Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'mvn verify' did not generate any report #181

Open
ssharmaexp opened this issue Jul 12, 2020 · 1 comment
Open

'mvn verify' did not generate any report #181

ssharmaexp opened this issue Jul 12, 2020 · 1 comment

Comments

@ssharmaexp
Copy link

ssharmaexp commented Jul 12, 2020

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.

@birajksahu
Copy link

facing the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants