lambdaisland / lambdaisland/kaocha
Possible bug in kaocha's output if test fails
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 860
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Kaocha Version
1.71.1119
Platform
Operating System: macOS m1 12.5
Clojure version: 1.11.1
JDK vendor and version: OpenJDK Runtime Environment Homebrew (build 19.0.1) with --enable-preview parameter for Virtual Threads
Symptom
If test fails then I get awful kaocha's Exception output

Reproduction
- Clone my repo SWIM
git clone https://github.com/redstarssystems/swim/
cd swim - Select particular commit
git checkout f9ef925837ff41afdb75f3cc10ba1e4fd4887841 - Run tests to make sure that all of them are green
clj -M:test - Then change value 3 to 4 on line 1993 to make test fail.
- Run tests again and see result
clj -M:test
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
Reproduce the report by checking out SWIM commit f9ef925837ff41afdb75f3cc10ba1e4fd4887841, changing the value on line 1993, and running clj -M:test before and after. Compare the failure output and trace it into Kaocha's test-failure reporting; done means the failing test produces a usable exception report rather than the shown output.
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