2009/10/20 Jolyon Smith <jsm...@deltics.co.nz>

>  You do of course mean D2010. J
>
Yes :-)

> I had the same thought… all it needs now is someone to convince me that
> spending time creating mocks and testing that the mocks adequately test the
> things I’m really testing is time that couldn’t be better invested in
> creating a robust, practical test environment to actually test the things I
> want to test…. (draws breath) … I might explore the idea further
>
>
>
That simply is the argument for unit testing - which I suppose is always
dependent on whether or not you think it will give you value. You cannot
unit test without mocks as mocks mock the dependent classes.  Mocks simply
serve to prevent you having to implement fakes and managing that extra
code... I suppose I should just try it and see!
-- 
---
Richard Vowles, Technical Advisor
Developers Inc Ltd
web. http://www.developers-inc.co.nz
ph. +64-9-3600231, mob. +64-275-467747, fax. +64-9-3600384
skype. rvowles, LinkedIn, Twitter
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: delphi@delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: 
unsubscribe

Reply via email to