lambdaisland / lambdaisland/kaocha

Option to silence focus-meta warning

Open
#298 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ergonomics help wanted improvement
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?

https://github.com/lambdaisland/kaocha/blob/e20309949256bbfc5b5c90d6d1ebb3bae7b62241/src/kaocha/plugin/filter.clj#L49-L50

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.