Is there any way to create a code coverage artifact?

I like the the code coverage tools in IntelliJ. Usually I was using cobertura to generate a code coverage report but I notice IntelliJ features a generate report on my code coverage as part of running AllTests with coverage. Is there any way to create this report as part of my build process with artifacts?

 

TIA

0
3 comments

You can run any utility you want via "external tool" section of run configuration: 

 

0

See attached

This section appears after running AllTests with Coverage.  The button to create a coverage report. Is there a way to call that in my build process? I can submit a request for feature.

0

There is no option to generate coverage report on build automatically, unfortunately. 

Feel free to create an appropriate feature request at https://youtrack.jetbrains.com/newIssue?project=IDEA and share the link here. 

1

Please sign in to leave a comment.