Problem
nos test selects tests only at namespace granularity: :namespaces, :exclude, and :re all operate on namespace names. To skip a single test (e.g. one carrying a platform-specific expectation) the only lever is dropping its whole namespace, which discards every passing test alongside it.
Suggestion
Add an :exclude-vars option to the :test config: a vector of fully-qualified deftest symbols. After require and before the run, clear each var's :test meta so clojure.test skips exactly those vars while the rest of their namespace still runs.
{:test {:exclude-vars [my.ns-test/some-test]}}
clojure.test/test-var runs a var only when (:test (meta v)) is truthy, so clearing the meta is enough.
Problem
nos testselects tests only at namespace granularity::namespaces,:exclude, and:reall operate on namespace names. To skip a single test (e.g. one carrying a platform-specific expectation) the only lever is dropping its whole namespace, which discards every passing test alongside it.Suggestion
Add an
:exclude-varsoption to the:testconfig: a vector of fully-qualifieddeftestsymbols. Afterrequireand before the run, clear each var's:testmeta soclojure.testskips exactly those vars while the rest of their namespace still runs.{:test {:exclude-vars [my.ns-test/some-test]}}clojure.test/test-varruns a var only when(:test (meta v))is truthy, so clearing the meta is enough.