is there a trick to getting jacoco to recognize ko...
# kotlintest
l
is there a trick to getting jacoco to recognize kotlintest tests?
i applied it to the project, set test as finalized by jacoco report
it creates the reports, but they show my sources as completely uncovered
l
I'm not sure if there's any trick. I use Jacoco and KotlinTest and never faced an issue
What is your setup?
l
i just figured out the issue
there was an assertion error in an init block
kotlintest swallows that as a warning
no tests executed
l
And there was no errors? That seems odd to me
Which version are you using?
l
3.4.2
specifically i was creating some Gens
my min and max were the same for Gen.choose
which i thought would just be the equivalent of Gen.constant
anyway i’m sorry i have to scoot
i can write these up as issues if you want
l
I believe we already have an issue for crashes before any spec start. Let me take a look
l
👍