3 ms·
> if you want to check a single function's behavior with 10 different sets of primitive arguments, using integration tests to test it may mean you end up setti
by karmakaze 9y ago
> if you want to check a single function's behavior with 10 different sets of primitive arguments, using integration tests to test it may mean you end up setting-up and tearing-down an application process 10 times: a slow and and wasteful use of your compute resources
This is only true if the test is run in process and there it is stateful. Performing out of process tests on stateless units are very effective.