lambdaisland / lambdaisland/kaocha

Decouple reporting from clojure.test

Open
#466 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
860
Forks
81
PR merge metrics
No merged PRs in 30d

Description

Per https://clojurians.slack.com/archives/CCY2V0U6A/p1749719871764959
Per https://clojurians.slack.com/archives/C07NJRDQWDS/p1749651576295109

For some test libraries/frameworks, clojure.test's reporting architecture is too limiting. As Kaocha's reporting uses clojure.test/do-report as an interface, these libraries cannot currently be integrated with Kaocha, and are forced to implement their own test discovery/runners, which also makes it more difficult for developers to mix these tests with more traditional ones.

Kaocha is an all-in-one testing tool, its core task is to load tests and execute them, reporting on their progress and final result.

I think it would be in line with Kaocha's goals to support non-clojure.test-based testables, and being more flexible with reporting should help achieve that.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading Kaocha's src/kaocha/report.clj and the clojure.test/do-report interface described in the issue. Trace how reporting currently constrains integration with non-clojure.test-based testables. Done means Kaocha can support those testables while still allowing them to be mixed with traditional tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.