Spike: Add unit/integration tests to validate mergability of the MR with enabled/disabled License Scanning and enabled/disabled Scan Result Policies
Time-box: 2 days
Why are we doing this work
In the scope of this Spike, we would like to know what we need to do to capture regression when we enforce approvals based on Scan Result Policies.
We want to add test cases to cover scenarios:
- MR approval is needed when Scan Result Policy for License Scanning is violated,
- MR approval is not needed when Scan Result Policy for License Scanning is not violated,
- MR approval is needed when Scan Result Policy for License Scanning is violated and License Scanning feature is not enabled,
- MR approval is not needed when License Scanning feature is not enabled and there are no policies,
- MR approval is not needed when License Scanning feature is enabled and there are no policies,
Edited by Alan (Maciej) Paruszewski