GitLab Well Architected
Cookbook navigation
Prompts / Assess MR Test Coverage

Assess MR Test Coverage

Code ReviewCode-ReviewQuality-AssuranceReviewerTestingVerifyBeginner

Evaluate if an MR includes adequate tests for new functionality. Identify gaps before they reach production.

For GitLab Duo

prompt

Analyze the test coverage in this MR:
1. What's tested?
2. What's missing?
3. Are edge cases covered?
4. Suggest additional test cases

[MR URL or paste code]

Use the prompt

Share the changes together with their tests. A coverage report adds context, but the behavior you expect is what helps Duo spot missing cases.