From c70a1552c037ab190f858d1c3da5986653499d8c Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Tue, 26 Apr 2022 18:00:06 +0200 Subject: [PATCH] # 1.66.1034 (2022-04-26 / 7a5824a) ## Added - Extend `kaocha.config/load-config` to also work on resources --- .VERSION_PREFIX | 2 +- CHANGELOG.md | 4 ++-- README.md | 10 +++++----- doc/02_installing.md | 14 +++++++------- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.VERSION_PREFIX b/.VERSION_PREFIX index f7e5606c..243507d7 100644 --- a/.VERSION_PREFIX +++ b/.VERSION_PREFIX @@ -1 +1 @@ -1.65 \ No newline at end of file +1.66 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e318e5ff..423cf483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 1.66.1034 (2022-04-26 / 7a5824a) ## Added @@ -865,4 +865,4 @@ namespace. - The configuration format has changed, you should now start with the `#kaocha {}` tagged reader literal in `tests.edn` to provide defaults. If you want more control then overwrite `tests.edn` with the output of `--print-config` and - tweak. + tweak. \ No newline at end of file diff --git a/README.md b/README.md index 837dc1a3..3f64eaec 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,7 @@ Add Kaocha as a dependency, preferably under an alias. ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}}}}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}}}} ``` Add a binstub called `bin/kaocha` @@ -122,7 +122,7 @@ Add a profile and alias ;; project.clj (defproject my-proj "0.1.0" :dependencies [,,,] - :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.65.1029"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.66.1034"]]}} :aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}) ``` @@ -166,7 +166,7 @@ options. If you nonetheless prefer `:exec-fn`/`-X`, you can set up `deps.edn`: ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {}}}} ``` @@ -187,10 +187,10 @@ of tests skipped. You could save that configuration with an additional alias: ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {:watch? true :skip-meta :slow diff --git a/doc/02_installing.md b/doc/02_installing.md index 54bf08e6..1e5da216 100644 --- a/doc/02_installing.md +++ b/doc/02_installing.md @@ -9,7 +9,7 @@ The main namespace for use at the command line is `kaocha.runner`, regardless of For example: ``` shell -clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}}}' -m kaocha.runner --test-help +clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}}' -m kaocha.runner --test-help ``` Below are instructions on the recommended way to set things up for various build tools. @@ -22,7 +22,7 @@ In `deps.edn`, create a `test` "alias" (profile) that loads the `lambdaisland/ka ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}}}}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}}}} ``` Other dependencies that are only used for tests, like test framework or assertion @@ -81,7 +81,7 @@ options. If you nonetheless prefer `:exec-fn`/`-X`, you can set up `deps.edn`: ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {}}}} ``` @@ -102,10 +102,10 @@ of tests skipped. You could save that configuration with an additional alias: ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.65.1029"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}} :exec-fn kaocha.runner/exec-fn :exec-args {:watch? true :skip-meta :slow @@ -122,7 +122,7 @@ Add Kaocha to your `:dev` profile, then add an alias that invokes `lein run -m k ``` clojure (defproject my-proj "0.1.0" :dependencies [,,,] - :profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.65.1029"]]}} + :profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.66.1034"]]}} :aliases {"kaocha" ["run" "-m" "kaocha.runner"]}) ``` @@ -155,7 +155,7 @@ alias that activates the profile and invokes `lein run -m kaocha.runner`: ``` clojure (defproject my-proj "0.1.0" :dependencies [,,,] - :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.65.1029"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.66.1034"]]}} :aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}) ```