Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kover doesn't reflect my test changes #532

Closed
ashaluwalakazeem opened this issue Feb 7, 2024 · 2 comments
Closed

Kover doesn't reflect my test changes #532

ashaluwalakazeem opened this issue Feb 7, 2024 · 2 comments
Assignees
Labels
Bug Bug issue type S: untriaged Status: issue reported but unprocessed

Comments

@ashaluwalakazeem
Copy link

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]
@ashaluwalakazeem ashaluwalakazeem added Bug Bug issue type S: untriaged Status: issue reported but unprocessed labels Feb 7, 2024
@shanshin
Copy link
Collaborator

shanshin commented Feb 7, 2024

Hi,
kotlinFixtures, currently not supported

@shanshin
Copy link
Collaborator

shanshin commented Feb 7, 2024

Thanks for the report!

Closing in favor of #533

@shanshin shanshin closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bug issue type S: untriaged Status: issue reported but unprocessed
Projects
None yet
Development

No branches or pull requests

2 participants