From db358838411b0e8adc9d272ccbf183607f0ffa98 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Tue, 28 Feb 2023 09:26:16 +0100 Subject: [PATCH] # 1.79.1270 (2023-02-28 / 47a7b61) ## Added * Kaocha is now compatible with Babashka. Running under Babashka is most useful for validating your Clojure code runs correctly on Babashka, but it may also be faster for some test suites because of reduced start up time. ## Fixed ## Changed --- .VERSION_PREFIX | 2 +- CHANGELOG.md | 4 ++-- README.md | 12 ++++++------ doc/02_installing.md | 16 ++++++++-------- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.VERSION_PREFIX b/.VERSION_PREFIX index 8a640fea..c4083017 100644 --- a/.VERSION_PREFIX +++ b/.VERSION_PREFIX @@ -1 +1 @@ -1.78 \ No newline at end of file +1.79 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 1927c627..14d92d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 1.79.1270 (2023-02-28 / 47a7b61) ## Added @@ -1008,4 +1008,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 93701a8b..b6116327 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Add Kaocha as a dependency, preferably under an alias. ;; deps.edn {:deps { ,,, } :aliases - {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.78.1249"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :main-opts ["-m" "kaocha.runner"]}}} ``` @@ -125,7 +125,7 @@ Add a profile and alias ;; project.clj (defproject my-proj "0.1.0" :dependencies [,,,] - :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.78.1249"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.79.1270"]]}} :aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}) ``` @@ -169,7 +169,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.78.1249"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {}}}} ``` @@ -190,10 +190,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.78.1249"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.78.1249"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {:watch? true :skip-meta :slow @@ -212,7 +212,7 @@ You can create a `bb.edn` file: ```clojure {:paths ["src" "test"] - :deps {lambdaisland/kaocha {:mvn/version "1.77.1236"}}} + :deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}}} ``` diff --git a/doc/02_installing.md b/doc/02_installing.md index 80897f6d..3a797793 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.78.1249"}}}' -m kaocha.runner --test-help +clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}}}' -m kaocha.runner --test-help ``` Below are instructions on the recommended way to set things up for various build tools. @@ -23,7 +23,7 @@ In `deps.edn`, create a `test` "alias" (profile) that loads the `lambdaisland/ka {:deps { ,,, } :aliases {:test {:main-opts ["-m" "kaocha.runner"] - :extra-deps {lambdaisland/kaocha {:mvn/version "1.78.1249"}}}}} + :extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}}}}} ``` Other dependencies that are only used for tests, like test framework or assertion @@ -82,7 +82,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.78.1249"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {}}}} ``` @@ -103,10 +103,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.78.1249"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.78.1249"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}} :exec-fn kaocha.runner/exec-fn :exec-args {:watch? true :skip-meta :slow @@ -123,7 +123,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.78.1249"]]}} + :profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.79.1270"]]}} :aliases {"kaocha" ["run" "-m" "kaocha.runner"]}) ``` @@ -156,7 +156,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.78.1249"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.79.1270"]]}} :aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}) ``` @@ -180,7 +180,7 @@ You can create a `bb.edn` file: ```clojure {:paths ["src" "test"] - :deps {lambdaisland/kaocha {:mvn/version "1.77.1236"}}} + :deps {lambdaisland/kaocha {:mvn/version "1.79.1270"}}} ```