Q: I cannot seem to run the examples listed i. e. here. How do they work?
A: First look after using the right modules: (use 'midje.repl)
and also (require '[midje.checking.core :as checking])
. The trick is then, each time a wiki page speaks of "checker" and lists examples of this concept to still wrap those example inside (fact ...)
i. e. (fact "abc" => (contains "bc"))
. That's all there is to know.
Created
June 20, 2019 11:59
-
-
Save 573/c1ee7b0b7224e80eee1574c4b9b2d568 to your computer and use it in GitHub Desktop.
midje q&a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment