-
Notifications
You must be signed in to change notification settings - Fork 129
Roadmap
marick edited this page Dec 17, 2010
·
23 revisions
-
Checkers for collection-like structures, as in: [3 2 1] => (contains [1]) #{1 2 3} => (contains 1) "abc" => (contains #"bc")
-
throws and other checkers become "checker-aware", so that you can say: (f) => (throws Error (contains #"part of a message"))
-
Caught exceptions contain some guess about where they came from, rather than just {"this Throwable was captured by midje:" #<Error java.lang.Error: If {:a 1} is a map, [{:a 1}] should be too.>}
-
Some notation that eliminates this:
( (checker arg) (value-generator)) => falsey
I'm leaning toward
(value-generator) =deny=> (checker arg)