Hi,
I have no experience with the swtbot plug-in. But somehow you have to
ensure that the JaCoCo agent is provided as an JVM argument. You can
verify by running your build with the -X option and check whether
command line used to run your tests contains
-javaagent:jacocoagent.jar...
Also see hints in goal documentation
(http://www.eclemma.org/jacoco/trunk/doc/prepare-agent-mojo.html):
Note that these properties must not be overwritten by the test
configuration, otherwise the JaCoCo agent cannot be attached. If you
need custom parameters please append them. For example:
<argLine>${argLine} -your -extra -arguments</argLine>
Best regards,
-marc
On 10.01.14 02:34, kg pai wrote:
We have configured jacoco maven and surefiire reporrt plugin in pom....jacoco
exec report is generated for junit tests but not for swt bot tests....for
swtbot plugin we have tycho surefire plugin where dependencies are added and
apparg line and argline are configured....may I know what else configuration
has to be made for getting jacoco report for ui tests....are appargline and
argline configuration conflicting...
--
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.