Gate a release with test evidence
A release gate fails closed: missing evidence counts as a failure.
Your task
Complete the release gate so it picks a test level and only allows promotion when the evidence is complete and clean.
public class AS_1E1E7AE44C28_ReleaseGate {
public static String chooseTestLevel(Set<String> testNames) {
return null;
}
public static Boolean canPromote(
Integer componentErrors,
Integer testFailures,
String rollbackReference
) {
return null;
}
}Requirements
- usesRunSpecifiedTestsForNames should pass
- fallsBackToRunLocalTests should pass
- blocksComponentErrors should pass
- blocksTestFailures should pass
- requiresRollbackReference should pass
- allowsCleanPromotion should pass
- comparesCountsToZero should pass