Skip to content
Don't talk like yoda. This kaocha plugin lets you write `(is (= actual expected))`.
Clojure
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/noyoda
.gitignore
README.md
project.clj

README.md

noyoda

expected this, I did not

Don't talk like yoda. This kaocha plugin lets you write (is (= actual expected)).

Usage

Add [kaocha-noyoda "2019-06-03"] as a dev dependency, then enable the plugin:

#kaocha/v1
{:plugins [:noyoda.plugin/swap-actual-and-expected]}

Make sure you are using [lambdaisland/kaocha "0.0-389"] or newer.

Thanks to Arne Brasseur for all his work on Kaocha, and for infusing it with such powerful extension mechanisms. If you find Kaocha really useful in your work, consider supporting him via Lambda Island.

License

Copyright © (iterate inc 2019) Magnar Sveen

Distributed under the Eclipse Public License, the same as Clojure.

You can’t perform that action at this time.