Do everything in Java…

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 02:22:31 PST 2014


On 2014-12-07 11:52, Sebastiaan Koppe wrote:

> I am curious how you would write tests without mocks.

It depends on how the code looks like. With code that has no external 
dependencies, i.e. no networking, I usually assume that the entire 
system works 100% correctly except for the part of the system I'm 
writing a test for.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list