/
HISTORY
88 lines (76 loc) · 3 KB
/
HISTORY
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
= 0.9.0 (release candidate)
* Regexps can be placed on the right-hand-side of an
expression: "foo" => #"fo+"
* Throws and other checkers are "checker-aware", so
you can write: (f) => (throws Error (contains #"part of a message"))
* Containment checkers
https://github.com/marick/Midje/wiki/Checkers-for-collections-and-strings
= 0.8.1 (stable)
* before/after/around
http://bit.ly/hgw1CU
* background facts work within deftests
* future-fact, pending-fact
= 0.8.0
* Dropping support for Clojure 1.1.
* Incompatible syntax change for #'against-background
* Backgrounds can now be set for a namespace or within a
#'fact body.
* Background-setting functions obey *include-midje-checks*
* Compiling out test code from production code actually
works.
= 0.7.2
* Use alter-var-root instead of with-binding in preparation
for Clojure 1.3 (and use with threads).
* against-background
https://github.com/marick/Midje/wiki/Background-prerequisites
= 0.7.1
* Three new checkers: map-containing, maps-containing, and
only-maps-containing.
* Chatty checkers are much improved.
http://github.com/marick/Midje/wiki/Chatty-checkers
* Some bug fixes
= 0.7.0
* Chatty checkers
http://github.com/marick/Midje/wiki/Chatty-checkers
* Added a leiningen plugin to get tidy test reports.
http://github.com/marick/Midje/wiki/Lein-midje
* Set midje.semi-sweet/*include-midje-checks* to false to
compile tests out of production code.
http://github.com/marick/Midje/wiki/Production-mode
* Incompatible change: Midje no longer defines fakes for
you at the top level. As with any other identifier used in
code, they must be defined before use. The unfinished macro
is good for that.
* Functions print as their names, if they have them, in case
of an (exactly x) failure.
* Does a better job forcing seqs in the result to fully calculate
themselves.
* Emacs midje-mode is a little smarter about what a Clojure
identifier is (for M-x midje-unfinished)
= 0.6.1
* Midje-mode is (more) compatible with clojure-test-mode.
= 0.6.0
* Can "unfold" nested function calls in provided facts, so
that (f (g 1)) produces two mock calls, the first of which
returns a metaconstant that the second expects.
* If a fact fails for more than one reason, report them all.
* midje-mode.el provides a smooth workflow for those
who use slime/swank.
= 0.5.0
* Line numbers almost always point to the line that provoked
the error (one of the lines with => on them).
* The in-any-order checker should work correctly.
* Expectations (x => y) can appear at any level, so they can
be nested within lets.
= 0.4.0
* midje.sweet in workable shape.
* (not-called f) expectation added (Wilkes Joiner)
* key&value arguments can be passed to expect(), fake(), and
not-called() to override defaults.
* (fact) and (expect) return boolean variables because
that's more informative in REPL.
* The checker for (f) => (throws Throwable) is supported.
= 0.3.0
* Works with 1.2-RC1 (Wilkes Joiner)
= 0.2.0
* Can fake functions from other namespaces. (Wilkes Joiner)