You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "David Griffon (Jira)" <ji...@apache.org> on 2022/05/01 15:05:00 UTC
[jira] [Commented] (UNOMI-565) Add code coverage report to integration test
[ https://issues.apache.org/jira/browse/UNOMI-565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17530523#comment-17530523 ]
David Griffon commented on UNOMI-565:
-------------------------------------
Now jacoco is part of the integration test, providing a code coverage report after a run
To work properly, a script executes the report generation after the test
This [script|https://github.com/apache/unomi/blob/4ff8a1471e4a6068b409c133d25f97521f06ba90/itests/jacoco-report.sh] copies all requires resources (build classes and source) to the test directory.
Currently here are the project copied:
{{api common graphql/cxs-impl metrics persistence-elasticsearch/core persistence-spi plugins/baseplugin rest wab}}
Feel free to add other project if required
> Add code coverage report to integration test
> --------------------------------------------
>
> Key: UNOMI-565
> URL: https://issues.apache.org/jira/browse/UNOMI-565
> Project: Apache Unomi
> Issue Type: New Feature
> Reporter: David Griffon
> Assignee: David Griffon
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Use jacoco to build a code coverage report to unit test
> This will help to know what part of the product is not covered by test
--
This message was sent by Atlassian Jira
(v8.20.7#820007)