spekframework / spek

A specification framework for Kotlin
Other
2.23k stars 179 forks source link

Cannot modify coverage settings of Spek 2 - JVM Run/Debug configuration #592

Open wfhartford opened 5 years ago

wfhartford commented 5 years ago

In a Kotlin JVM project, the run/debug configuration configuration window does not have the three tabs at the top (Configuration, Code Coverage, Logs), only the basic configuration options are available. This prevents the user from modifying code coverage options, for example, from Sampling to Tracing which is required to collect branch coverage statistics.

To reproduce, create a Kotlin JVM project (I'm not sure if this issue exists for android), add a test class using Spek 2 Framework, run the test, open the Run/Debug Configurations screen for the test's run configuration. Most run configurations have three tabs at the top, the Spek 2 - JVM configurations do not.

madorb commented 4 years ago

Would love to see this, i'd love to be able to configure my code coverage to not attempt to check / report test coverage for every class loaded when the app runs :-)