From the course: JavaScript: Test-Driven Development (ES6)

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

How do integration tests fit into TDD?

How do integration tests fit into TDD? - JavaScript Tutorial

From the course: JavaScript: Test-Driven Development (ES6)

Start my 1-month free trial

How do integration tests fit into TDD?

- [Narrator] So many people are naturally a little confused when they learn about integration testing in the context of TDD. After all, we already have unit tests to guide us along in the development of our software. Shouldn't that be all we need? Well, not necessarily. Unit tests guide us in the development of the smallest units of our software, usually functions, and they're very important in ensuring that those pieces are as robust as possible and work exactly as expected. However, while unit tests are extremely important to the development team that creates and maintains these atomic pieces, and in the end have a strong, positive effect on the robustness of the overall software, they're not the whole story. To show you what I mean, let's say you're working as a back-end developer and your job is to create a rest API. It's very unlikely that your boss or project manager is going to give you a list of all the…

Contents