Medet Zhakupov
Medet Zhakupov
I am getting the same thing. Any kind of help would be good
**What I want to accomplish** I want to analyse only changed files in the PR and run coverage report and fail the CI if coverage is below certain percentage. **How...
First of all thanks a lot for prompt responses. Based on my understanding the sequence should be following: 1) Run unit tests 2) Instrument runs after completion of unit tests...
Yes I did add the dependency. Here is the stacktrace ``` Task :app:testBelgiumDevDebugUnitTest com.privatebanking.app.DeviceDetailsTest > testGetDeviceDetailsObject FAILED java.lang.ExceptionInInitializerError at DeviceDetailsTest.java:36 Caused by: java.lang.NullPointerException at DeviceDetailsTest.java:36 com.privatebanking.app.PrivateBankingApplicationTest > testGetSetTopActivity FAILED java.lang.NoClassDefFoundError...
Actually above stacktrace is for when I used `implemetation(libs.kover.offline.runtime)`. Getting same error
Does it mean I must first run assemble task and then test task?
I have always been running test as below: `./gradlew clean app:testBelgiumDevDebugUnitTest` Interestingly if I comment out below script tests succeed ```groovy tasks.withType(KotlinCompile).configureEach { doLast { def outputDir = destinationDirectory.get().asFile def...
One question. above script is expected to run after compilation finished or after unit test gradle task completion?
> However, it is not necessary to instrument the tasks of compiling tests. Does it mean that I do not have to instrument actually but just run tests and after...
> It is not recommended to use the Kover Gradle Plugin and the offline instrumentation at the same time - this can lead to unexpected errors. Offline instrumentation is used...