Packages

sealed trait TestRetry extends AnyRef

The test retry configuration.

Since

1.1.2

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TestRetry
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def classRetryFilter: (String, List[String]) ⇒ Boolean

    Classes that pass this filter (based on classname and annotations) will be entirely retried instead of retrying only the test cases that failed.

    Classes that pass this filter (based on classname and annotations) will be entirely retried instead of retrying only the test cases that failed. This filter will only be applied to classes that pass the classesFilter. By default, no classes are included.

    See also

    classesFilter

  2. abstract def classesFilter: (String, List[String]) ⇒ Boolean

    Filter classes to retry based on classname and annotations.

  3. abstract def flakyTestPolicy: FlakyTestPolicy

    Whether flaky tests should fail the build.

  4. abstract def maxFailures: Int

    Disable retries if the number of failing test cases is above this threshold.

    Disable retries if the number of failing test cases is above this threshold.

    Any value less than 1 results in no limit.

  5. abstract def maxRetries: Int

    How many times failing tests should be retried at most.

  6. abstract def withClassRetryFilter(classRetryFilter: (String, List[String]) ⇒ Boolean): TestRetry

    Create a copy of this configuration with a new filter for classes to retry entirely.

    Create a copy of this configuration with a new filter for classes to retry entirely.

    classRetryFilter

    The new filter.

    returns

    A copy of this configuration with a new filter for classes to retry entirely.

    See also

    classRetryFilter

  7. abstract def withClassesFilter(classesFilter: (String, List[String]) ⇒ Boolean): TestRetry

    Create a copy of this configuration with a new classes filter.

    Create a copy of this configuration with a new classes filter.

    classesFilter

    The new classes filter.

    returns

    A copy of this configuration with a new classes filter.

    See also

    classesFilter

  8. abstract def withFlakyTestPolicy(policy: FlakyTestPolicy): TestRetry

    Create a copy of this configuration with a new policy regarding flaky tests.

    Create a copy of this configuration with a new policy regarding flaky tests.

    policy

    The new policy.

    returns

    A copy of this configuration with a new policy regarding flaky tests.

    See also

    flakyTestPolicy

  9. abstract def withMaxFailures(maxFailures: Int): TestRetry

    Create a copy of this configuration with a new maximum number of failing tests before flaky test detection is disabled.

    Create a copy of this configuration with a new maximum number of failing tests before flaky test detection is disabled. If the number of failing tests is greater than this value, then flaky test detection will be disabled. Any value less than 1 results in no limit.

    maxFailures

    The maximum number of failing tests before flaky test detection is disabled.

    returns

    A copy of this configuration with a new maximum number of failing tests.

    See also

    maxFailures

  10. abstract def withMaxRetries(maxRetries: Int): TestRetry

    Create a copy of this configuration with a new maximum number of retries for failing tests.

    Create a copy of this configuration with a new maximum number of retries for failing tests.

    maxRetries

    The maximum number of times a failing tests must be retried.

    returns

    A copy of this configuration with a new maximum number of retries for failing test.

    See also

    maxRetries

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped