Skip to content

Instantly share code, notes, and snippets.

@oliverhu
Created November 18, 2015 21:27
Show Gist options
  • Save oliverhu/e23c815c4fb7988f88a5 to your computer and use it in GitHub Desktop.
Save oliverhu/e23c815c4fb7988f88a5 to your computer and use it in GitHub Desktop.
let test = testA
if test.failed {
test.failedReason = on-call.investigate()
if (test.failedReason != badCode) {
on-call.disableTest(test)
}
}
let reasonForFail = testA.failedReason
if testA failed && reason != app code && .. {
on-call.disable(testA)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment