Do everything in Java…

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 5 08:45:43 PST 2014


On Friday, 5 December 2014 at 15:25:19 UTC, Ary Borenszweig wrote:
> This is very true. Specially when mocks come into play, 
> sometimes test become duplicated code and every time you make 
> changes in your codebase you have to go and change the expected 
> behaviour of mocks, which is just tedious and useless.

In my opinion OOP is very unfriendly for testing as a paradigm in 
general. The very necessity to create mocks is usually an alarm.


More information about the Digitalmars-d mailing list