Kotlin / kotlinx-kover

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kover doesn't reflect my test changes

ashaluwalakazeem opened this issue · comments

Describe the bug
Kover doesn't reflect my test changes whenever I use kotlinFixtures in my test class to generate fakes.

Errors
No stack traces detected

Expected behavior
Kover should reflect the test cases for test classes using the mentioned library

Reproducer
The codebase is private but it can be easily reproducible by simply using kotlinFixture for generating fakes in a test class.

    class ProfileViewModelTest {
        private val fixture = kotlinFixture()
        private val fakeDesc = fixture<Desc>() // Desc can be any data class
        
        
        @Test
        fun testDesc() {
             assertNotNull(fakeDesc.name)
        }
    }

Reports
Kover tests passed 100%

Environment

  • Kover Gradle Plugin version: [1.9.21]
  • Gradle version: [e.g. 8.3]
  • Kotlin project type: [Kotlin/Android]
  • Coverage Toolset [Kover]

Hi,
kotlinFixtures, currently not supported

Thanks for the report!

Closing in favor of #533