[
https://issues.apache.org/jira/browse/NIFI-14507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948830#comment-17948830
]
Alexander Lepekhin commented on NIFI-14507:
-------------------------------------------
Really I don't quite understand how this module works and I did not find
aggregated code coverage anywhere. To have the coverage we need to instrument
the code before any test is executed. In my PR I added jacoco in plugins
section of root pom.xml so it will instrument the code before any tests in any
module is executed. After that we have code coverage report inside the modules
in target/site/jacoco folder I think it will not harm nifi-code-coverage if it
ever works
> Create code coverage report
> ---------------------------
>
> Key: NIFI-14507
> URL: https://issues.apache.org/jira/browse/NIFI-14507
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Reporter: Alexander Lepekhin
> Assignee: Alexander Lepekhin
> Priority: Minor
>
> Currently code coverage report is not generated.
> How to reproduce:
> * execute
> {code:java}
> ./mvnw clean install{code}
> in the root folder
> * go to any submodule, i.e. nifi-mock
> * expected result: tests passed and coverage report generated
> * actual result: tests passed, coverage report not generated
--
This message was sent by Atlassian Jira
(v8.20.10#820010)