marick / Midje

Midje provides a migration path from clojure.test to a more flexible, readable, abstract, and gracious style of testing
MIT License
1.69k stars 129 forks source link

Problem with cake midje #43

Closed maacl closed 12 years ago

maacl commented 13 years ago

Running cake midje against a simple file containing one midje fact and one deftest test which both work separately (executed midje-mode and cake test respectively, I get:

java.lang.RuntimeException: java.lang.ClassCastException: clojure.test$report cannot be cast to clojure.lang.MultiFn

I am on OS X Lion, using Java 1.6.0_26, cake 0.6.3 and:

[clojure "1.2.0"] [midje "1.2-beta1"]

in project.clj.

Am I doing something wrong?

marick commented 13 years ago

Sorry for the delayed reply. Does the same procedure work with (1) only a Midje fact, and (2) only a deftest?

On Jul 28, 2011, at 2:51 PM, maacl wrote:

Running cake midje against a simple file containing one midje fact and one deftest test which both work separately (executed midje-mode and cake test respectively, I get:

java.lang.RuntimeException: java.lang.ClassCastException: clojure.test$report cannot be cast to clojure.lang.MultiFn

I am on OS X Lion, using Java 1.6.0_26, cake 0.6.3 and:

[clojure "1.2.0"] [midje "1.2-beta1"]

in project.clj.

Am I doing something wrong?

Reply to this email directly or view it on GitHub: https://github.com/marick/Midje/issues/43


Brian Marick, Artisanal Labrador Now working at http://path11.com Contract programming in Ruby and Clojure Occasional consulting on Agile

maacl commented 13 years ago

Yes it does.

/mac

On Sat, Sep 24, 2011 at 2:13 AM, Brian Marick reply@reply.github.com wrote:

Sorry for the delayed reply. Does the same procedure work with (1) only a Midje fact, and (2) only a deftest?

On Jul 28, 2011, at 2:51 PM, maacl wrote:

Running cake midje against a simple file containing one midje fact and one deftest test which both work separately (executed midje-mode and cake test respectively, I get:

java.lang.RuntimeException: java.lang.ClassCastException: clojure.test$report cannot be cast to clojure.lang.MultiFn

I am on OS X Lion, using Java 1.6.0_26, cake 0.6.3 and:

[clojure "1.2.0"] [midje "1.2-beta1"]

in project.clj.

Am I doing something wrong?

Reply to this email directly or view it on GitHub: https://github.com/marick/Midje/issues/43


Brian Marick, Artisanal Labrador Now working at http://path11.com Contract programming in Ruby and Clojure Occasional consulting on Agile

Reply to this email directly or view it on GitHub: https://github.com/marick/Midje/issues/43#issuecomment-2184094

AlexBaranosky commented 12 years ago

Marking "won't fix" since cake seems to be dieing out. If no one disagrees, I will close this issue.