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

Lein interactive mode falsely passing tests #61

Closed AlexBaranosky closed 13 years ago

AlexBaranosky commented 13 years ago

Given: I am in lein int mode and am running a few calls to midje consecutively.

When: I change the source such that a namespace is no longer correctly :use'd or :require'd (generally refactoring...)

Then: It can sometimes report that all facts passed. But if I leave lein interactive mode, and type lein midje at the command line, the failure(s) will show up.

marick commented 13 years ago

Can you give more details about changing the namespace?

AlexBaranosky commented 13 years ago

Will send a complete sequence of steps to reproduce, as soon as I find time (I'm travelling to the Conj now!) On Nov 9, 2011 11:30 AM, "Brian Marick" < reply@reply.github.com> wrote:

Can you give more details about changing the namespace?


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

AlexBaranosky commented 13 years ago

My few naive attempts to reproduce this failed. I know I've seen it more than once, so next time it happens I will try to step backwards through what I had just done, and try to capture the details then.

marick commented 13 years ago

What? You're trying to demo Midje bugs at the conj?

On Nov 10, 2011, at 3:10 PM, AlexBaranosky wrote:

My naive attempt to reproduce this failed. I know I've seen it more than once, so next time it happens I will try to step backwards through what I had just done, and try to capture the details then.


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


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

AlexBaranosky commented 13 years ago

After talking with Justin (ninjudd) at Clojure Conj, the creator of Cake, I'm starting to think there's probably just something wrong with interactive mode on Leiningen, because apparently using a persistent JVM is a difficult problem to manage perfectly. I'm going to close this, and consider opening a Leiningen issue.