Permalink
Browse files

0.9.0RC1

  • Loading branch information...
1 parent 0be9d22 commit a077ebcc1bd0c4a4bf1908256c3b0240d906a3f1 @marick marick committed Dec 30, 2010
View
@@ -1,3 +1,11 @@
+= 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
View
Binary file not shown.
@@ -1,26 +1,26 @@
Testing semi-sweet-simple.core-test
FAIL at (core_test.clj:25)
-Expected: 3
- Actual: 4
+ Expected: 3
+ Actual: 4
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:30)
Actual result did not agree with the checking function.
- Actual result: 4
-Checking function: odd?
+ Actual result: 4
+ Checking function: odd?
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:40)
Actual result did not agree with the checking function.
- Actual result: a function named 'even?'
-Checking function: (exactly odd?)
+ Actual result: a function named 'even?'
+ Checking function: (exactly odd?)
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:51)
Actual result did not agree with the checking function.
- Actual result: [3 3 1 2]
-Checking function: (in-any-order [1 2 3])
+ Actual result: [3 3 1 2]
+ Checking function: (in-any-order [1 2 3])
^^^^ The previous failure was expected ^^^^
-FAIL for (core_test.clj:78)
+FAIL at (core_test.clj:78)
You claimed the following was needed, but it was never used:
-(first-fake 3)
+ (first-fake 3)
^^^^ The previous failure was expected ^^^^
Ran 11 tests containing 14 assertions.
5 failures, 0 errors.
@@ -2,7 +2,7 @@
:description "An example of using Midje semi-sweet mocking"
:dependencies [[org.clojure/clojure "[1.1.0,1.2.0]"]
[org.clojure/clojure-contrib "[1.1.0,1.2.0]"]
- [midje "0.8.1"]
+ [midje "0.9.0RC1"]
]
)
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/core-1.3.0-20101116.112441-56.jar:../lib/def-1.3.0-20101116.112441-56.jar:../lib/midje-0.8.1.jar:../lib/unifycle-0.5.0.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
+java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/core-1.3.0-20101116.112441-56.jar:../lib/def-1.3.0-20101116.112441-56.jar:../lib/midje-0.9.0RC1.jar:../lib/unifycle-0.5.0.jar clojure.main -i semi_sweet_simple/core_test.clj -e '(ns semi-sweet-simple.core-test)(run-tests)'
@@ -2,31 +2,31 @@
Testing semi-sweet-simple.core-test
FAIL at (core_test.clj:25)
-Expected: 3
- Actual: 4
+ Expected: 3
+ Actual: 4
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:30)
Actual result did not agree with the checking function.
- Actual result: 4
-Checking function: odd?
+ Actual result: 4
+ Checking function: odd?
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:40)
Actual result did not agree with the checking function.
- Actual result: a function named 'even?'
-Checking function: (exactly odd?)
+ Actual result: a function named 'even?'
+ Checking function: (exactly odd?)
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:51)
Actual result did not agree with the checking function.
- Actual result: [3 3 1 2]
-Checking function: (in-any-order [1 2 3])
+ Actual result: [3 3 1 2]
+ Checking function: (in-any-order [1 2 3])
^^^^ The previous failure was expected ^^^^
-FAIL for (core_test.clj:78)
+FAIL at (core_test.clj:78)
You claimed the following was needed, but it was never used:
-(first-fake 3)
+ (first-fake 3)
^^^^ The previous failure was expected ^^^^
Ran 11 tests containing 14 assertions.
@@ -10,5 +10,5 @@
[hiccup "0.2.6"]]
:dev-dependencies
[[lein-run "1.0.0"]
- [midje "0.8.2"]
+ [midje "0.9.0RC1"]
])
@@ -1,38 +1,38 @@
FAIL at (core_test.clj:34)
-Expected: 3
- Actual: 4
+ Expected: 3
+ Actual: 4
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:45)
Actual result did not agree with the checking function.
- Actual result: 4
-Checking function: odd?
+ Actual result: 4
+ Checking function: odd?
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:56)
Actual result did not agree with the checking function.
- Actual result: a function named 'even?'
-Checking function: (exactly odd?)
+ Actual result: a function named 'even?'
+ Checking function: (exactly odd?)
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:74)
Actual result did not agree with the checking function.
- Actual result: [3 3 1 2]
-Checking function: (in-any-order [1 2 3])
+ Actual result: [3 3 1 2]
+ Checking function: (in-any-order [1 2 3])
^^^^ The previous failure was expected ^^^^
-FAIL for (core_test.clj:118)
+FAIL at (core_test.clj:118)
You claimed the following was needed, but it was never used:
-(alive? ...cell...)
-FAIL for (core_test.clj:119)
+ (alive? ...cell...)
+FAIL at (core_test.clj:119)
You claimed the following was needed, but it was never used:
-(neighbor-count ...cell...)
+ (neighbor-count ...cell...)
FAIL at (core_test.clj:116)
Actual result did not agree with the checking function.
- Actual result: nil
-Checking function: truthy
+ Actual result: nil
+ Checking function: truthy
^^^^ The previous three failures were expected ^^^^
-FAIL for (core_test.clj:209)
+FAIL at (core_test.clj:209)
You claimed the following was needed, but it was never used:
-(data-structure)
-FAIL for (core_test.clj:209)
+ (data-structure)
+FAIL at (core_test.clj:209)
You claimed the following was needed, but it was never used:
-(property-of ...data-structure-value-1...)
+ (property-of ...data-structure-value-1...)
^^^^ The previous two failures were expected ^^^^
FAILURE: 9 facts were not confirmed. (But 10 were.)
@@ -2,6 +2,6 @@
:description "An example of using Midje's sweet interface"
:dependencies [[org.clojure/clojure "[1.1.0,1.2.0]"]
[org.clojure/clojure-contrib "[1.1.0,1.2.0]"]
- [midje "0.8.1"]]
+ [midje "0.9.0RC1"]]
)
@@ -1,2 +1,2 @@
cd test
-java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/core-1.3.0-20101116.112441-56.jar:../lib/def-1.3.0-20101116.112441-56.jar:../lib/midje-0.8.1.jar:../lib/unifycle-0.5.0.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
+java -cp ../lib/clojure-1.2.0.jar:../lib/clojure-contrib-1.2.0.jar:../lib/core-1.3.0-20101116.112441-56.jar:../lib/def-1.3.0-20101116.112441-56.jar:../lib/midje-0.9.0RC1.jar:../lib/unifycle-0.5.0.jar clojure.main -i basic/core_test.clj -e '(ns basic.core-test)(run-tests)'
@@ -1,48 +1,48 @@
FAIL at (core_test.clj:34)
-Expected: 3
- Actual: 4
+ Expected: 3
+ Actual: 4
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:45)
Actual result did not agree with the checking function.
- Actual result: 4
-Checking function: odd?
+ Actual result: 4
+ Checking function: odd?
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:56)
Actual result did not agree with the checking function.
- Actual result: a function named 'even?'
-Checking function: (exactly odd?)
+ Actual result: a function named 'even?'
+ Checking function: (exactly odd?)
^^^^ The previous failure was expected ^^^^
FAIL at (core_test.clj:74)
Actual result did not agree with the checking function.
- Actual result: [3 3 1 2]
-Checking function: (in-any-order [1 2 3])
+ Actual result: [3 3 1 2]
+ Checking function: (in-any-order [1 2 3])
^^^^ The previous failure was expected ^^^^
-FAIL for (core_test.clj:118)
+FAIL at (core_test.clj:118)
You claimed the following was needed, but it was never used:
-(alive? ...cell...)
+ (alive? ...cell...)
-FAIL for (core_test.clj:119)
+FAIL at (core_test.clj:119)
You claimed the following was needed, but it was never used:
-(neighbor-count ...cell...)
+ (neighbor-count ...cell...)
FAIL at (core_test.clj:116)
Actual result did not agree with the checking function.
- Actual result: nil
-Checking function: truthy
+ Actual result: nil
+ Checking function: truthy
^^^^ The previous three failures were expected ^^^^
-FAIL for (core_test.clj:209)
+FAIL at (core_test.clj:209)
You claimed the following was needed, but it was never used:
-(data-structure)
+ (data-structure)
-FAIL for (core_test.clj:209)
+FAIL at (core_test.clj:209)
You claimed the following was needed, but it was never used:
-(property-of ...data-structure-value-1...)
+ (property-of ...data-structure-value-1...)
^^^^ The previous two failures were expected ^^^^
Testing basic.core-test
@@ -4,4 +4,4 @@
[[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]]
:dev-dependencies
- [[midje "0.8.2"]])
+ [[midje "0.9.0RC1"]])
@@ -2,4 +2,4 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
- [midje "0.8.1"]])
+ [midje "0.9.0RC1"]])
@@ -2,4 +2,4 @@
:description "FIXME: write"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]
- [midje "0.8.1"]])
+ [midje "0.9.0RC1"]])
View
@@ -1,4 +1,4 @@
-(defproject midje "0.8.2"
+(defproject midje "0.9.0RC1"
:description "A TDD library for Clojure, with an emphasis on mocks"
:dependencies [[org.clojure/clojure "1.2.0"]
[org.clojure/clojure-contrib "1.2.0"]

0 comments on commit a077ebc

Please sign in to comment.