Integration testing – Multiple services, one application
We have all our functionalities already tested. We know that our services work correctly but what about our database connection? What about our SSO? Can you confirm these services/dependencies work correctly?
Integration testing plays an important role in the application development cycle by verifying the correct behavior of the system. Let's explore our current application architecture:
Integration tests ensure the correct interaction across our different application layers, in this case, database connection, SSO service, and frontend application.
Why should you do integration tests? Well, if it's not clear yet, there are a few reasons to consider:
- Easy integration with daily builds in your Continuous Integration (CI) cycle. Your progress will be testable at any time.
- Easy to test in dev/QA/UAT/Production environment. It's easy, just like running your application.
- Tests run faster as compared to end-to-end tests.
- Allows you to detect system...