Skip to content

Kaocha cloverage plugin doesn't create reports when used with kaocha.repl/run #16

Open
@mchughs

Description

@mchughs

I have created a project below which minimally illustrates the issue. Please check it out and try running the two aliases.

https://github.com/mchughs/kaocha-cloverage-fail-example

Essentially something like -m kaocha.runner --plugin cloverage works just fine to run tests and create a report.

But trying (kaocha.repl/run 'core-test {:plugins [:kaocha.plugin/cloverage]}) will just run the test without creating a report.

My interest in having this work is that I am following Juxt's example to get parallel testing out of kaocha and CircleCI as described at https://www.juxt.pro/blog/parallel-kaocha.

They use kaocha.repl/run in their example and I obviously don't want to have to run all my tests again just to produce a coverage report since the whole point of parallelization is to speed things up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ❌ Won't fix

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions