For the complete documentation index, see llms.txt. This page is also available as Markdown.

Testing integration with external services

Integration tests are very important, because the application communicates with many external systems e.g. CRM or payment systems. If the integration does not work properly, it results in business errors, data loss, or incorrect operation of the entire process.

Integration testing methods

Mocks

  • are simulations of responses from external systems,

  • the ability to test various response scenarios,

  • tests can be independent of service availability.

Input data tests

  • validation of the correctness of sent requests (e.g. JSON, XML structure).

Output data tests

  • checking whether the system correctly processes data returned from the outside,

  • handling errors and exceptions.

Unit tests in scripts

Learn more: Script unit tests.

Last updated

Was this helpful?