Interface TestRunMuter
-
public interface TestRunMuter
Build-specific service to mute test runs in one build. Usage: when a build starts, obtain an instance of this service and associate it with the build. When a test failure reported, just callhandleTestResult(long, boolean, boolean)
for the test.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
handleTestResult(long testNameId, boolean success, boolean wasFailingBefore)
Handle muting.
-
-
-
Method Detail
-
handleTestResult
boolean handleTestResult(long testNameId, boolean success, boolean wasFailingBefore)
Handle muting. Returns true if test was muted.- Parameters:
testNameId
- id of the original test name (without incrementing for repeted attempts).success
- true - successfull, false - failedwasFailingBefore
- true if test with this testNameId has already failed in this build before
-
-