kaocha
kaocha copied to clipboard
Option to silence focus-meta warning
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?"
We'd like a general approach for opting out of specific warnings. Something where every type of warnings is identified by a keyword, and you can turn them off per type in tests.edn.
A proposal and PR in that vein would be very welcome!
#404 creates the infrastructure needed to solve this issue.