talios / clojure-maven-plugin

Apache Maven Mojo for compiling clojure scripts to class files
252 stars 74 forks source link

Support for midje facts wrapped with deftest #56

Closed dlebrero closed 12 years ago

dlebrero commented 12 years ago

as explained in https://github.com/marick/Midje/wiki/Lein-test

Midje uses other :type different from :fail and :error (like :mock-expected-result-failure) to report failures. This means that the maven-clojure-plugin is reporting a success when a Midje test fails.

Instead of looking for :fail or :error, use the :summary report which contains the right number of errors and failure. This is what the "lein test" task does.

buildhive commented 12 years ago

Mark Derricutt » clojure-maven-plugin #11 SUCCESS This pull request looks good (what's this?)