|
Re: Code Coverage [message #1602176 is a reply to message #1599128] |
Thu, 05 February 2015 11:20 |
|
Hello,
Thank you for contacting us!
We don't provide this functionality out-of-the box but you could employ AUT virtual machine arguments to configure an arbitrary covers tool (eg. JaCoCo agent).
Add AUT with installed cover tool to RCPTT IDE, select AUT in Applications View and click Configure, click "Advanced...", then AUT configuration editor will be opened. You can set AUT VM arguments in Arguments tab of that editor.
Please let me know if it is suitable for you or you have any questions.
Yours sincerely,
Olga.
|
|
|
Re: Code Coverage [message #1611300 is a reply to message #1599128] |
Wed, 11 February 2015 09:22 |
Andreas Falter Messages: 15 Registered: February 2015 |
Junior Member |
|
|
Hi,
I also made some tries regarding the code coverage during tests by using the Jacoco agent.
In general, the JaCoCo agent can be easily integrated as described in previous comment, I added the following argument to my launch configuration:
-javaagent:e:\RCPTT\Coverage\JacocoAgent\jacocoagent.jar=destfile=e:\RCPTT\Coverage\test.exec
When I start the AUT, the destination file is created and filled during the test. After execution, the file can be imported as coverage session to Eclipse/EclEmma to have the results in the known view in Eclipse. I have not checked if the result is reasonable, but at least something is written
I think it will be also possible to combine the results of the GUI and Unit-Tests, if both test runs write to the same result file with the 'append' option (see also the linked Jacoco agent DOC page from previous comment). Alternatively, both sessions maybe imported to EclEmma and combined there. There was an option for such things in the coverage view, but I did not try this so far.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02182 seconds