From fcef91c365caa0f6fed6761b3deb80e800ccb617 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Thu, 23 May 2024 08:39:31 +0200 Subject: [PATCH] # 1.91.1392 (2024-05-23 / c2d7e1f) ## Fixed - Handle assertions using `:actual (not= ,,,)` output format, this fixed deep-diff when using the Expectations library. --- .VERSION_PREFIX | 2 +- CHANGELOG.md | 2 +- README.md | 12 ++++++------ doc/02_installing.md | 16 ++++++++-------- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.VERSION_PREFIX b/.VERSION_PREFIX index 88310d7d..57a845df 100644 --- a/.VERSION_PREFIX +++ b/.VERSION_PREFIX @@ -1 +1 @@ -1.90 \ No newline at end of file +1.91 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e1882121..a8f5f638 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 1.91.1392 (2024-05-23 / c2d7e1f) ## Fixed diff --git a/README.md b/README.md index 8668ad1c..144f9f21 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.90.1383"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :main-opts ["-m" "kaocha.runner"]}}} ``` @@ -137,7 +137,7 @@ Add a profile and alias ;; project.clj (defproject my-proj "0.1.0" :dependencies [,,,] - :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.90.1383"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.91.1392"]]}} :aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]}) ``` @@ -181,7 +181,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.90.1383"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :exec-fn kaocha.runner/exec-fn :exec-args {}}}} ``` @@ -202,10 +202,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.90.1383"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.90.1383"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :exec-fn kaocha.runner/exec-fn :exec-args {:watch? true :skip-meta :slow @@ -227,7 +227,7 @@ You can create a `bb.edn` file: ```clojure {:paths ["src" "test"] - :deps {lambdaisland/kaocha {:mvn/version "1.90.1383"}}} + :deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}} ``` diff --git a/doc/02_installing.md b/doc/02_installing.md index bf353e82..32e5dd0f 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.90.1383"}}}' -m kaocha.runner --test-help +clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}}' -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.90.1383"}}}}} + :extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}}}} ``` 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.90.1383"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :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.90.1383"}} + {:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :exec-fn kaocha.runner/exec-fn :exec-args {}} - :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.90.1383"}} + :watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}} :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.90.1383"]]}} + :profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.91.1392"]]}} :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.90.1383"]]}} + :profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.91.1392"]]}} :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.90.1383"}}} + :deps {lambdaisland/kaocha {:mvn/version "1.91.1392"}}} ```