Test environment deployed on AWS: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = All services that are part of the multi-service workflow being tested are deployed to AWS, normally with seeded data ready for tests. = Integration tests = Int...")
 
(Marked this version for translation)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= Overview =
<translate>
= Overview = <!--T:1-->


<!--T:2-->
All services that are part of the multi-service workflow being tested are deployed to AWS, normally with seeded data ready for tests.
All services that are part of the multi-service workflow being tested are deployed to AWS, normally with seeded data ready for tests.


= Integration tests =
= Integration tests = <!--T:3-->
 
Integration tests use the same system as [[Test environment deployed on AWS]] however are limited to tests that do not change state such as records in databases.


<!--T:4-->
We configure the tests with the [[Service - Integration Test Config|Integration Test Config]] service, invoke and monitor them in the [[Service - Integration Testing|Integration Testing]] service.
We configure the tests with the [[Service - Integration Test Config|Integration Test Config]] service, invoke and monitor them in the [[Service - Integration Testing|Integration Testing]] service.


Requests initiated by testing service set the [[NPM module - izara-middleware|izara-middleware] module's LOG_LEVEL to DEBUG, this will trigger a message added to MsgOut whenever an external service is invoked, that message is received by [[Service - Integration Test Config|Integration Test Config]] service which checks if the request matches expected inputs/outputs.
<!--T:5-->
Requests initiated by testing service set the [[NPM module - izara-middleware|izara-middleware] module's LOG_LEVEL to DEBUG by setting the DEBUG_LOG_ENABLED correlation id, this will trigger a message sent to [[Service - Integration Test Config|Integration Test Config]] whenever an external service is invoked/returns, that message is checked to see if matches expected inputs/outputs.
</translate>

Latest revision as of 04:01, 4 October 2022

Overview

All services that are part of the multi-service workflow being tested are deployed to AWS, normally with seeded data ready for tests.

Integration tests

We configure the tests with the Integration Test Config service, invoke and monitor them in the Integration Testing service.

Requests initiated by testing service set the [[NPM module - izara-middleware|izara-middleware] module's LOG_LEVEL to DEBUG by setting the DEBUG_LOG_ENABLED correlation id, this will trigger a message sent to Integration Test Config whenever an external service is invoked/returns, that message is checked to see if matches expected inputs/outputs.