marick edited this page Dec 22, 2010 · 1 revision
Clone this wiki locally

Namespace midje.unprocessed has no syntactic sugar at all. All work is done by functions applied to maps. The macros in semi-sweet mode are written in terms of those functions and maps.

To find the map format, look at the definitions of fake and call-being-tested in midje/semi_sweet.clj. The function that does the work is expect*. Its first argument is the map in the call-being-tested format, followed by zero or more maps in the fake format.