Skip to content

Conversation

@cx-amol-mane
Copy link

This commit introduces a new job in the CI workflow to validate that all integration tests are covered by the defined CI matrix patterns. The validation checks for uncovered tests and provides feedback on the total number of tests found and those covered by patterns. This enhancement aims to ensure comprehensive test coverage and improve the reliability of the CI process.

By submitting this pull request, you agree to the terms within the Checkmarx Code of Conduct. Please review the contributing guidelines for guidance on creating high-quality pull requests.

Description

Please provide a summary of the changes and the related issue. Include relevant motivation and context.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Related Issues

Link any related issues or tickets.

Checklist

  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • Any dependent changes have been merged and published in downstream modules
  • I have updated the CLI help for new/changed functionality in this PR (if applicable)
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used

Screenshots (if applicable)

Add screenshots to help explain your changes.

Additional Notes

Add any other relevant information.

This commit introduces a new job in the CI workflow to validate that all integration tests are covered by the defined CI matrix patterns. The validation checks for uncovered tests and provides feedback on the total number of tests found and those covered by patterns. This enhancement aims to ensure comprehensive test coverage and improve the reliability of the CI process.
@cx-amol-mane cx-amol-mane changed the title Add test coverage validation step to CI workflow Add test coverage validation step to CI workflow(AST-22222) Feb 4, 2026
This commit modifies the CI workflow configuration by correcting the pattern for scan operations to include "ScanWorkFlow" and updating the SCM tests pattern to account for "BitBucket". These changes ensure that the CI process accurately reflects the intended test coverage and improves the clarity of the test categorization.
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

Logo
Checkmarx One – Scan Summary & Details80771fdf-5591-4835-bc3e-8732abb4db16

Great job! No new security vulnerabilities introduced in this pull request

This commit introduces a new pre-test cleanup step to delete stale test projects before running integration tests. Additionally, it improves the test rerun logic by capturing exit codes and handling various failure patterns, ensuring that tests are retried correctly if they fail or panic. These changes aim to enhance the reliability and cleanliness of the CI testing process.
…eouts

This commit improves the CI workflow by adding checks for infrastructure-related failures that should not trigger test reruns. It also updates the logic to provide clearer messages regarding test timeouts, ensuring better diagnostics during the CI process. The changes aim to enhance the reliability and clarity of test execution outcomes.
This commit improves the CI workflow by adding a validation step to identify uncovered integration tests and dynamically generate a catch-all group for those tests. It updates the test execution logic to conditionally run uncovered tests and provides warnings when tests are not covered by existing CI patterns. These changes aim to enhance test coverage management and improve the clarity of test execution outcomes.
This commit introduces a new test function, AmolTestAuthValidate, to the integration tests for authentication validation. The function executes the "auth validate" command and asserts successful authentication, enhancing the coverage of authentication-related tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant