[QA.TEM.5] Run tests in parallel for faster results
Category: RECOMMENDED
Parallelized test execution is the practice of concurrently running multiple test cases or suites to accelerate test results and expedite feedback. As software grows and becomes more modular, especially in architectures like microservices, the number of test cases also increases. Running these tests sequentially could significantly slow down delivery pipelines. By creating many test beds and distributing test cases across them asynchronously, tests can be run in parallel to allow for faster iterations and more frequent deployments.
Adopt a scaling-out strategy to test bed provisioning to establish multiple test beds
tailored for specific test scenarios. Each test bed, provisioned through infrastructure as
code (IaC), should have the necessary infrastructure and data setup for its designated
test cases. Serverless infrastructure or container orchestration tools combined with state
machines, such as AWS Step Functions
Related information: