I am currently using the Build Kit to launch JUnit tests via a terminal with the “mmm publish” command. My tests are correctly executed, but the command takes up to 10 min to complete. I want to optimize this duration. The code coverage task takes ~5 min and prints “[codeCoverAnalyzer] .WARNING : unable to find source code for XYZ.java” for each class in the project. Can I fix these warnings without changing my platform ? I am using the SDK 21.03 distribution and a 7.12.1 platform for ESP32 with PSRAM.
Beside these warnings, how can I configure or disable some tasks in the publish process (code coverage, Javadoc generation, etc.) ? In my module.ivy, in the ea:build tag, I have already some properties like this: <ea:property name=“skip.build.virtual.device” value=“true” />
A complete list with an explanation for each property would be perfect.
If there is a more appropriate way to launch the JUnit tests (and generate the report) via a command line than using “mmm publish”, please tell me.
Yoann Jézégou, developer at Otodo