lambdaisland / lambdaisland/kaocha
Option to silence focus-meta warning
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 860
- Forks
- 81
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to have an option to silence this warning?
I'm setting up kaocha as our company-wide test runner and most of the time folks won't be focusing single tests but it's helpful to have the metadata consistent for everyone, so printing the warning every time feels unnecessary.
I don't know if this is possible, but maybe only include the warning if the option is set from the command line? As I see it, when set in tests.edn it's meant to be constant and can be ignored, but when set from the cli, it's one-off and thus a warning is good to say "you chose this specifically, did you make a mistake?"
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
Read src/kaocha/plugin/filter.clj around lines 49-50 to understand when the focus-meta warning is emitted, then trace how tests.edn and command-line options are represented. Done means the warning can be silenced through an explicit option while preserving the requested distinction between configuration-file and command-line use.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100