Filter tests based on the Clojure or Java version.
This plugin will look for test metadata specifying the minimum or maximum version of Clojure or Java this test is designed to work with.
The recognized metadata keys are :min-clojure-version
,
:max-clojure-version
, :min-java-version
, and :max-java-version
. The
associated value is a version string, such as "1.10.0"
.
You can set both a minimum and a maximum to limit to a certain range. The
boundaries are always inclusive, so ^{:max-clojure-version "1.9"}
will run
on Clojure 1.9.*
or earlier.
Specificty matters, a test with a max version of "1.10" will also run on version
"1.10.2", whereas if the max version is
"1.10.0"` it will not.
Filter tests based on the Clojure or Java version. This plugin will look for test metadata specifying the minimum or maximum version of Clojure or Java this test is designed to work with. The recognized metadata keys are `:min-clojure-version`, `:max-clojure-version`, `:min-java-version`, and `:max-java-version`. The associated value is a version string, such as `"1.10.0"`. You can set both a minimum and a maximum to limit to a certain range. The boundaries are always inclusive, so `^{:max-clojure-version "1.9"}` will run on Clojure `1.9.*` or earlier. Specificty matters, a test with a max version of `"1.10" will also run on version `"1.10.2"`, whereas if the max version is `"1.10.0"` it will not.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close