Integration with other systems is one of the most complex parts of software delivery. Is there a silver bullet that can address issues like flaky tests, unstable environments and non-trivial bugs that slow down the development?
Integration testing is a complex problem. It is good to add a dose of common sense to our work every time we need to make some decisions in this field. Remember, you have three valuable allies that can help:
- you can stub your view of the external API instead of stubbing the entire API - both for UI & integration tests,
- you can have a watchdog in form of contract tests to validate integration without exposure to issues related to real API,
- you can integrate directly with the real API on STAGE and higher environments to stay confident entire system serves its purpose.
Author: Damian Mierzwiński
AEM News Newsletter
Join the newsletter to receive the latest updates in your inbox.
Sign in or become a AEM News member to join the conversation.
Just enter your email below to get a log in link.