Skip to content

Conversation

john-westcott-iv
Copy link
Member

Purpose

This PR tests that SonarCloud quality gate PASSES when code has sufficient test coverage.

Changes

  • Added ansible_base/lib/utils/coverage_test_utils.py with a utility function
  • Added test_app/tests/lib/utils/test_coverage_test_utils.py with comprehensive tests covering >80% of the code

Testing Plan

  1. Verify SonarCloud check PASSES due to sufficient coverage (>80%)
  2. Compare with PR [AAP-52663] Test SonarCloud 80% coverage gate enforcement #861 which FAILED due to 0% coverage

Comparison

Notes

This is a temporary testing branch to validate SonarCloud coverage gate enforcement works correctly in DAB.

Copy link

github-actions bot commented Oct 6, 2025

DVCS PR Check Results:

PR appears valid (JIRA key(s) found)

Copy link

sonarqubecloud bot commented Oct 6, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant