4 ms·
True, but they're also slower, so you'll have to either test fewer cases or run the tests less often.
by ptx 7y ago
True, but they're also slower, so you'll have to either test fewer cases or run the tests less often.
- cryptica 7y agoThey are usually slower but they can still be pretty fast. Also, with integration tests, you can choose the granularity of your test. You don't need to test end-to-end (of course this is the slowest), you can just test a single module with all its dependencies. If you don't mock out dependencies, then it's still technically called an integration test.