by henrik_w · 10y ago · 0 comments
Why unit tests are good: - You get well-tested parts that you can use in your integration tests, so that the integration tests truly catch the problesm that couldn't be caught at a lower level. This makes trouble-shooting easier.
- Decoupled design - one of the key advantages of TDD
- Rapid feedback. Not all integration tests can be run as quickly as unit tests.
- Easier to set up a specific context for the tests.
There are more details in the blog post I wrote as a response [2].
[1] http://rbcs-us.com/documents/Segue.pdf
[2] https://henrikwarne.com/2014/09/04/a-response-to-why-most-un...