|
|
|
|
|
by mandeepj
2601 days ago
|
|
> If you're starting with TDD and unit tests, then you're doing it wrong Source? Please. This is just plain wrong. Integration tests also belong to TDD. Unit tests are very focused, individual, component level tests. Suppose, I want to test my mortgage calculator logic, without bothering about caching, data storage, network IO etc. Then, unit tests are the way to go. But, if I want to test the functionality, just like an end user then Integration Tests are the way to go. You might also use Integration tests to get your stories approved. One might say Integration tests belong to BDD. I'll say that is just a lower level categorization. At the top, it's just TDD. |
|
I don't know the OP's world, but I can vouch for starting with high level tests being a good strategy in some cases.