Quality Gates - Flexible Failure Criteria
Last updated
Was this helpful?
Last updated
Was this helpful?
SeaLights has introduced significant enhancements to its Quality Gate feature, providing greater flexibility and accuracy in evaluating build quality.
One key update is the addition of a new option for defining failure thresholds. Alongside the existing "No Failures" setting, you can now choose "Percentage of Failures". This allows you to set a maximum acceptable percentage of failed tests, catering to projects with varying risk tolerances.
This new option allows you to define a threshold for acceptable failure rates. The Quality Gate will pass if the percentage of failed tests is below the defined value. This option provides more flexibility and can be tailored to projects with varying risk tolerance. You define the acceptable percentage. You can apply this to all test stages or specific ones.
SeaLights now offers a more precise method for counting failed tests, available upon customer request.
Current method "All Results": counting every test run, potentially inflating the failure count if a test was run multiple times.
New method "Latest Result": counting only the latest result for each unique test, providing a more accurate representation of actual failures. For example, if a test fails on its first run but passes on a subsequent run, only the passing result will be counted.
This change affects all applications in the account, and the setting is currently managed manually with the help of your SeaLights customer success representative.