3 ms·
Because these tests become too detached from reality if you inject everything. A silly example to make the point: IAdder { double Add(double a, double b) } Te
by quickthrower2 9y ago
Because these tests become too detached from reality if you inject everything. A silly example to make the point:
IAdder { double Add(double a, double b) }
Test:
car mockAdder = ... // Mock 1+1=2 etc.