Class BambooWebDriverScreenshotRule
java.lang.Object
org.junit.rules.TestWatcher
com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
com.atlassian.bamboo.webdriver.testing.rule.BambooWebDriverScreenshotRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public class BambooWebDriverScreenshotRule
extends com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
Constructor Summary
ConstructorDescriptionBambooWebDriverScreenshotRule
(@NotNull BambooTestedProduct product) Constructs the screenshot rule. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
finished
(@NotNull org.junit.runner.Description description) periodicalScreenshots
(@NotNull Duration interval) Returns a new instance of this rule, which will take periodical screenshots during test execution.protected void
starting
(@NotNull org.junit.runner.Description description) Methods inherited from class com.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
artifactDir, failed, takeManualScreenshotAndSource, takeManualScreenshotAndSource
Methods inherited from class org.junit.rules.TestWatcher
apply, skipped, skipped, succeeded
-
Constructor Details
-
BambooWebDriverScreenshotRule
Constructs the screenshot rule.
-
-
Method Details
-
periodicalScreenshots
Returns a new instance of this rule, which will take periodical screenshots during test execution. -
starting
protected void starting(@NotNull @NotNull org.junit.runner.Description description) - Overrides:
starting
in classcom.atlassian.webdriver.testing.rule.WebDriverScreenshotRule
-
finished
protected void finished(@NotNull @NotNull org.junit.runner.Description description) - Overrides:
finished
in classorg.junit.rules.TestWatcher
-