lambdaisland / lambdaisland/kaocha-cucumber
Trying to get json output
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 44
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I thought I'd be able to get json output with cucumber jvm by using system props:
clojure -J-Dcucumber.options="-p json:target/x.json" -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "0.0-418"} lambdaisland/kaocha-cucumber {:mvn/version "0.0-46"}}}' -m kaocha.runner "$@"
While the JSONFormatter is correctly instantiated and the json file created, nothing appears in the file, and I cant see any of the event handlers being hit in debug. Can anyone explain this or suggest an alternative route?
Cheers
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 by running the Clojure command shown in the issue and inspect how JSONFormatter is instantiated and how its event handlers are invoked. Trace the formatter and event flow to determine why target/x.json remains empty; done means identifying the cause and documenting a working JSON-output route or a confirmed limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure, java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100