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 call handleTestResult(long, boolean, boolean) for the test.
    • 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 - failed
        wasFailingBefore - true if test with this testNameId has already failed in this build before