We are running integration test with failsafe maven plugin with a command "mvn failsafe:integration-test".
When I am running test with mvn failsafe:integration-test command the report is not generated, but when I am running with mvn verify with integration test specific profile it generates fine.
Do you have any experience how to run tests with mvn failsafe:integration-test command and generate JaCoCo report properly?
Thanks!
what do you mean by saying "specify
another goal for report generation (jacoco:report-integration) "? Can you please specify how it should be done?
Thanks!
On Tuesday, March 29, 2016 at 6:12:24 PM UTC+2, Marc R. Hoffmann wrote:
> Hi,
>
> if you execute
>
> mvn failsafe:integration-test
>
> than exactly this goal is executed -- nothing else. You can specify
> another goal for report generation (jacoco:report-integration) or use
> the Maven lifecycle to execute multiple goals
> (https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html).
>
> Regards,
> -marc
>
Thanks for the answer.
Do you mean that running "mvn jacoco:prepare-agent-integration failsafe:integration-test jacoco:report-integration" should work?
~Sargis
Thanks,
Sargis