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.
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.