On Tue, Jun 3, 2008 at 8:22 PM, Quentin Mathé <[EMAIL PROTECTED]> wrote:
>
> Le 30 mai 08 à 18:52, David Chisnall a écrit :
>
>> Nicolas pointed out the other day that UnitKit didn't have a mock
>> object class, so here is one for review.
>>
>> <UKMock.m><UKMock.h>
>
> Hi David,
>
> Not really a review yet, it looks like a welcome addition though. I
> barely know mock objects so I need to get a better picture of the
> idea. I just found this page that lists some interesting reads on
> Mocking, Unit Testing and BDD.

excellent. The general idea is to be able to express constraints and
scenarios in an as easy as possible way.
I wrote some comments http://review.etoileos.com/r/7/

> Another interesting approach mentioned by Damien is Extreme
> Validation: <http://www.caesarsystems.com/pdf/Extreme_Validation.pdf>
> I'm quite interested in adding some basic support for extreme
> validation to UnitKit.

this look pretty interesting, indeed -- somewhat a reified extension
to contracts. His later exemples on late-binding error validations
displaying in the UI are pretty cool. And the general mechanism of
automatic validation should probably be a great match with CoreObject
models !

> BDD sounds interesting but you don't truly need a different framework
> I think, it looks more like a particular style of unit testing mixed
> with a litterate programming approach. From an IDE perspective, may be
> it can be envisioned as the possibility to bind tests or test
> sequences, to sentences or paragraphs which document methods (and
> classes).

agree. I'm not fully convainced by BDD, though it is interesting.

> Aside of that, I sent a mail to UnitKit's author asking if we could
> officially take over the development of the framework and get access
> to the latest development snapshot (the never released 2.0 version).

cool!


-- 
Nicolas Roard
"I love deadlines. I like the whooshing sound
they make as they fly by." -- Douglas Adams

_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to