Step Up to the Integration Tests

When we step up to the integration level, our attitude shifts a bit. Here we aren’t looking to test everything that could possibly break. Here we are looking for gaps and high-level connectivity.

images/climb/int1.png

Do the web requests flow down to the database? Is the authentication service correctly connected to the login code? This is what we are looking for here—not the low-level details we already covered with the unit tests.

Now don’t be alarmed if you see developers writing unit tests that happen to look a lot like integration tests. This is mainly for historical reasons.

In the early days of automated testing, there was no ...

Get The Way of the Web Tester now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.