3 ms·
I am okay with mock. I was an early adopter of mock so I had the same struggle. Well, I agree there is a big learning curve using mock. When I mock I get lazy I
by yeukhon 13y ago
I am okay with mock. I was an early adopter of mock so I had the same struggle. Well, I agree there is a big learning curve using mock. When I mock I get lazy I mock a lot of things out.
If the project has to spawn processes or do a lot crazy network stuff I just forget about mocking and true unittest. I go straight with functional tests.