Let’s start with a quick recap:Unit tests test individual software components. They supply mocks or fake versions of dependencies (such as a database) so that the unit test doesn’t rely on any external code and any failures can be pinpointed exactly. Unit testing is central to Test Driven Development – the entire TDD process is driven by unit testing.Integration tests test your entire software stack working together. These tests don’t mock or fake anything (they use the real database, and real network co...
|
5
votes |
|
|||


No comments yet, be the first one to post comment.