GitLab Well Architected
Cookbook navigation
Prompts / Create Integration Test Scenarios

Create Integration Test Scenarios

TestingArchitectureDeveloperIntegrationVerifyBeginner

Design tests for component interactions, error handling, and timeout scenarios.

For GitLab Duo

prompt

Create integration tests for:

[DESCRIBE COMPONENTS/FLOW]

Test scenarios:
1. Normal flow
2. Error handling
3. Timeout scenarios
4. Data validation
5. Rollback behavior

Use the prompt

Describe how the components interact and what the user should see when something fails. Existing test setup and sample requests help turn the scenarios into tests your project can run.