Package com.onenetwork.platform.tools.test.ui.rule

  • Class Summary 
    Class Description
    ScreenshotOnErrorStatement
    Testing framework statement that instructs runners to take a screenshot whenever internal statement throws exception.
    TakeScreenshotOnError
    JUnit Method Rule which will take screenshot whenever a test fails.
    By default, Assumption violations are not considered test "failures", so no screenshot will be taken.
    If you want to take screenshots on failed assumptions, construct this rule using: {@code TakeScreenshotOnError.{@link #includingAssumptionViolations()};