Skip to content

Commit

Permalink
# 1.66.1034 (2022-04-26 / 7a5824a)
Browse files Browse the repository at this point in the history
## Added

- Extend `kaocha.config/load-config` to also work on resources
  • Loading branch information
plexus committed Apr 26, 2022
1 parent 7a5824a commit c70a155
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.65
1.66
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# 1.66.1034 (2022-04-26 / 7a5824a)

## Added

Expand Down Expand Up @@ -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.
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.65.1029"}}}}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}}}}
```

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.65.1029"]]}}
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.66.1034"]]}}
: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.65.1029"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}
: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.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
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.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.
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.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
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.65.1029"}}
{:test {:extra-deps {lambdaisland/kaocha {:mvn/version "1.66.1034"}}
: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.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
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.65.1029"]]}}
:profiles {:dev {:dependencies [,,, [lambdaisland/kaocha "1.66.1034"]]}}
: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.65.1029"]]}}
:profiles {:kaocha {:dependencies [[lambdaisland/kaocha "1.66.1034"]]}}
:aliases {"kaocha" ["with-profile" "+kaocha" "run" "-m" "kaocha.runner"]})
```

Expand Down

0 comments on commit c70a155

Please sign in to comment.