Skip to content

Commit

Permalink
# 1.82.1306 (2023-03-30 / 40698c5)
Browse files Browse the repository at this point in the history
## Added

- Expose `:print-config true` and `:print-test-plan true` to Clojure CLI -X
  invocations.
  • Loading branch information
plexus committed Mar 30, 2023
1 parent 40698c5 commit 2fba51f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .VERSION_PREFIX
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.81
1.82
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# 1.82.1306 (2023-03-30 / 40698c5)

## Added

Expand Down Expand Up @@ -1030,4 +1030,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.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.81.1290"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:main-opts ["-m" "kaocha.runner"]}}}
```

Expand Down Expand Up @@ -137,7 +137,7 @@ Add a profile and alias
;; project.clj
(defproject my-proj "0.1.0"
:dependencies [,,,]
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.81.1290"]]}}
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.82.1306"]]}}
:aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]})
```

Expand Down Expand Up @@ -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.81.1290"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}}}
```
Expand All @@ -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.81.1290"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.81.1290"}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {:watch? true
:skip-meta :slow
Expand All @@ -227,7 +227,7 @@ You can create a `bb.edn` file:

```clojure
{:paths ["src" "test"]
:deps {lambdaisland/kaocha {:mvn/version "1.81.1290"}}}
:deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}}

```

Expand Down
16 changes: 8 additions & 8 deletions doc/02_installing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.81.1290"}}}' -m kaocha.runner --test-help
clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}}' -m kaocha.runner --test-help
```

Below are instructions on the recommended way to set things up for various build tools.
Expand All @@ -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.81.1290"}}}}}
:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}}}}
```

Other dependencies that are only used for tests, like test framework or assertion
Expand Down Expand Up @@ -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.81.1290"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}}}
```
Expand All @@ -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.81.1290"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.81.1290"}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {:watch? true
:skip-meta :slow
Expand All @@ -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.81.1290"]]}}
:profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.82.1306"]]}}
:aliases {"kaocha" ["run" "-m" "kaocha.runner"]})
```

Expand Down Expand Up @@ -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.81.1290"]]}}
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.82.1306"]]}}
:aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]})
```

Expand All @@ -180,7 +180,7 @@ You can create a `bb.edn` file:

```clojure
{:paths ["src" "test"]
:deps {lambdaisland/kaocha {:mvn/version "1.81.1290"}}}
:deps {lambdaisland/kaocha {:mvn/version "1.82.1306"}}}

```

Expand Down

0 comments on commit 2fba51f

Please sign in to comment.