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

Partial prerequisites should not be the default #113

Closed marick closed 12 years ago

marick commented 12 years ago

If you want to "call through" to the real function, you should be explicit about that, perhaps with this syntax:

(fact ...
   (provided
      (foo 3) => 4
      foo => fall-back-to-existing))
cch1 commented 12 years ago

Brian, is this going to address this issue from the mailing list? https://groups.google.com/forum/?fromgroups#!topic/midje/_ea1PSbZDsw

If so, what is the timetable?

marick commented 12 years ago

I'm not sure what you mean by "this".

I suspect "this" would be part of Midje 2, whose schedule depends on:

Few things would make me happier than being able to grab hold of, and complete, Midje 2 this summer.

On Apr 10, 2012, at 9:07 AM, Chris Hapgood wrote:

Brian, is this going to address this issue from the mailing list? https://groups.google.com/forum/?fromgroups#!topic/midje/_ea1PSbZDsw

If so, what is the timetable?


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


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

cch1 commented 12 years ago

Sorry, my pronoun lacked a clear antecedent... trying again.

Is this github issue (#113, "Partial prerequisites should not be the default") going to address the issue from the mailing list that I raised a month or so ago ("You never said partial prerequisites would blind me")?

I'm eager to see the partial pre-requisites functionality become an explicit choice instead of the current imposition.

Thanks for your time on this wonderful project.

-Chris

marick commented 12 years ago

@cch1 Sorry not to respond: yes, this is to address your issue.

cch1 commented 12 years ago

Since the fall-through syntax you describe in this issue is not projected until Midej 2, is there any chance that the breaking change that introduced partial prerequisites as the default can be reversed until then? They have really killed my productivity...