I have an MyApp.ear containing production code and a test.war containing end-to-end test code deployed in the same JBoss server on the same host machine.
MyApp.ear accepts MQ messages and returns the output.
test.war sends the MQ messages and asserts the output.
Both production and test application is built using maven. I am using jacoco 0.8.5 for code coverage.
An end-to-end test is invoked as below in the command line:
$mvn clean verify -DJBOSS_HOME=<path_to_jboss_dir> -f=integration-test/pom.xml jacoco:prepare-agent jacoco:report sonar:sonar -Dsonar.skip=false -Dit.test=com.mypackage.name.EndToEndTest
Test execution flow is as below:
Questions:
--
You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/a6311112-d720-41c7-b159-f132e3312e5cn%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "JaCoCo and EclEmma Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jacoco/0QkOV5u1w6Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/9B08C031-3069-49A7-96B6-8EBB6F51BFA1%40mountainminds.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/CAHcMQNmhUePRjokay8JZzuwU4AejMTrmVKx8DZuOj_8TPR34Vw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/83c5e172-68bd-4d6e-b2e6-a6c6c28c9d78n%40googlegroups.com.