Thread
#kotlintest
    l

    Luke Rohde

    2 years ago
    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
    LeoColman

    LeoColman

    2 years ago
    I'm not sure if there's any trick. I use Jacoco and KotlinTest and never faced an issue
    What is your setup?
    l

    Luke Rohde

    2 years ago
    i just figured out the issue
    there was an assertion error in an init block
    kotlintest swallows that as a warning
    no tests executed
    LeoColman

    LeoColman

    2 years ago
    And there was no errors? That seems odd to me
    Which version are you using?
    l

    Luke Rohde

    2 years ago
    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
    LeoColman

    LeoColman

    2 years ago
    I believe we already have an issue for crashes before any spec start. Let me take a look
    l

    Luke Rohde

    2 years ago
    👍