How can the unit test results of a hybris project be captured to jacoco.exec. i am using h1808 version. Please share step by step procedure.
Asked
Active
Viewed 1,631 times
1 Answers
0
I hope, you should be able to set it up with the help of https://wiki.hybris.com/display/forum/running+Sonar+and+JaCoCo+on+hybris

Arvind Kumar Avinash
- 71,965
- 6
- 74
- 110
-
Thank u for u r answer.That works fine. But there is an issue when i m using ant unittests -Dtestclasses.extensions="myextension" the code coverage report not showing the status of myextesion. I have opened jacoco.exec in eclipse and select all required extesion but it shows n/a for "myextension". – Suchit G Oct 23 '19 at 11:07
-
I have tried this using eclemma eclipse plugin for each test classes separately. And it shows java.lang.ClassNotFoundException: com.bnt.paymentcommunication.jalo.PaymentcommunicationTest at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:770) – Suchit G Oct 23 '19 at 12:14