|
The above command will execute the tests and generate the test execution report in the <WT_HOME>\buildlogs\customizationLogs\UnitTest\<moduleName>\TestExecutionReport directory. It will also instrument the module specific source code and generate module specific code coverage related jacoco.exec file. For example, <moduleName>_unit_jacoco.exec in the <WT_HOME>\buildlogs\customizationLogs\UnitTest\<moduleName>\CodeCoverageReport directory. If any unit test fails, then this command or target will also fail.
|
|
The above command will generate the code coverage reports in HTML and XML format in the <WT_HOME>\buildlogs\customizationLogs\UnitTest\<moduleName>\CodeCoverageReport\jacoco directory. The Index.html file can be used to view the code coverage.
|