lambdaisland / lambdaisland/kaocha-cloverage
Kaocha cloverage plugin doesn't create reports when used with kaocha.repl/run
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 40
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked minimal reproduction and run both the -m kaocha.runner --plugin cloverage command and (kaocha.repl/run 'core-test {:plugins [:kaocha.plugin/cloverage]}). Compare the plugin behavior between these entry points; done means the kaocha.repl/run path creates the expected coverage report without rerunning the tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100