3 ms·
> Because anything hard to test has been mocked to oblivion. Agree. Not an integration test. If it has mocks in it, it is not testing the INTEGRATION of/betwee
by njharman 6y ago
> Because anything hard to test has been mocked to oblivion.
Agree. Not an integration test. If it has mocks in it, it is not testing the INTEGRATION of/between components.
Mocks are for Unit tests. Where you want to isolate testing one single UNIT from all the other crap it integrates with (which have their own unit tests) After all these unit tests run, you test the whole shebang together with integration tests.