Skip to content

Commit

Permalink
# 1.62.993 (2022-02-04 / 083f69e)
Browse files Browse the repository at this point in the history
## Added

- Added configuration `:kaocha.watch/type` which takes either `:beholder` or
  `:hawk` as values. Defaulting to `:beholder` as the new fs watcher.
- Add `--no-fail-fast` CLI option

## Fixed

## Changed

- Changed default watcher to [Beholder](https://github.com/nextjournal/beholder)
  which supports OSX/m1 machines natively. Hawk is now deprecated and will be
  removed in a future release.
  • Loading branch information
oxalorg committed Feb 4, 2022
1 parent 083f69e commit 2ae9d30
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .VERSION_PREFIX
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.61
1.62
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# 1.62.993 (2022-02-04 / 083f69e)

## Added

Expand Down Expand Up @@ -828,4 +828,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.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.60.977"}}}}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.62.993"}}}}}
```

Add a binstub called `bin/kaocha`
Expand All @@ -122,7 +122,7 @@ Add a profile and alias
;; project.clj
(defproject my-proj "0.1.0"
:dependencies [,,,]
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.60.977"]]}}
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.62.993"]]}}
:aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]})
```

Expand Down Expand Up @@ -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.60.977"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.62.993"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}}}
```
Expand All @@ -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.60.977"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.62.993"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.60.977"}}
:watch-test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.62.993"}}
:exec-fn kaocha.runner/exec-fn
:exec-args {:watch? true
:skip-meta :slow
Expand Down
14 changes: 7 additions & 7 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.60.977"}}}' -m kaocha.runner --test-help
clojure -Sdeps '{:deps {lambdaisland/kaocha {:mvn/version "1.62.993"}}}' -m kaocha.runner --test-help
```

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

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

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

Expand Down

0 comments on commit 2ae9d30

Please sign in to comment.