Clover can't build projects that make use of Kotlin. Is there a way to instruct Clover to invoke the Kotlin Maven build plugin when compiling / instrumenting code?
Note - not generating test coverage for Kotlin files is fine (so long as they're excluded from coverage, not shown as "not tested"), but as it stands, the Clover compiler fails to build the project.
Unfortunately, this makes Clover a non-starter for our team.
Could you give more details, please:
Hi. I'm really interested in answer to this question.
1. Maven
2. No. My project is Java and Kotlin (mostly Kotlin) classes plus Spock for unit testing (Groovy 1.6.2)
3. I tried different ways but all I get is testing results without coverage.
Typical call looks like "mvn clean clover:setup test clover:aggregate clover:clover"
Is there a way to get coverage report?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Constantine Berdnikov No there's no way of using Kotlin with Clover.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Harry, there is no support for Kotlin, unfortunately. However, please note that Clover has been open-sourced (see this blog post for details). I encourage you to join the open-source community and contribute by adding support for this language. The OpenClover is one of the active forks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.