Hello,
I didn't manage to find how to configure Clover so it would be able to know what is a test and what is not in my project hierarchy. For now, all my code is considered having 0% coverage rate, even my tests themself in the "cloverage" panel, and nothing is displayed in "Test Runs" panel.
I'm using Clover as a plug-in for IntelliJ 13.1. Note that I'm working on a maven project having 3 sub-modules with the default organization ( /src/main for the "real code" and /src/test for the tests to run for each sub-module.)
I've read through the documentation for clover and IDEA but I didn't find my solution. Plus, the interface of IDEA seams to have changed, for example in the "compiler" part of the settings, there isn't an "external build" option anymore.
Do you have any idea about it ?
Thank you !
I didn't manage to find how to configure Clover so it would be able to know what is a test and what is not in my project hierarchy.
Clover-for-IDEA assumes that all sources which:
are test sources. All others are treated as application source.
Please ensure that you have a following check box selected, so that tests are instrumented:
File -> Settings -> Project Settings -> Clover -> Compilation tab -> Instrumentation box
"Instrument test source folders to enable per-test coverage and test optimization"
Plus, the interface of IDEA seams to have changed, for example in the "compiler" part of the settings, there isn't an "external build" option anymore.
Indeed, since IDEA 13 this option is not available anymore - the IDEA 13 is using the "external build" feature by default.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For now, all my code is considered having 0% coverage rate.
Do you see your application and test classes in the "Cloverage" view? Do you see your source code coloured in red?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.