Skip to content

Option to silence focus-meta warning #298

@NoahTheDuke

Description

@NoahTheDuke

Would it be possible to have an option to silence this warning?

(doseq [u unused]
(output/warn "No tests found with metadata key " u ". Ignoring --focus-meta " u "."))

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?"

Metadata

Metadata

Assignees

No one assigned

    Labels

    ergonomicsMaking Kaocha delightful to work with and people more efficienthelp wantedExtra attention is neededimprovementIncremental improvement of an existing feature

    Type

    No type

    Projects

    Status

    Candidate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions