FlakyTest


@Retention(value = RetentionPolicy.RUNTIME)
@Target(value = [ElementType.METHOD, ElementType.TYPE])
annotation FlakyTest


Designates a test as being flaky (non-deterministic).

Can then be used to filter tests on execution using -e annotation or -e notAnnotation as desired.

Summary

Public functions

abstract Int

An optional bug number associated with the test. -1 Means that no bug number is associated with the flaky annotation.

abstract String!

Details, such as the reason of why the test is flaky.

Public functions

bugId

abstract fun bugId(): Int

An optional bug number associated with the test. -1 Means that no bug number is associated with the flaky annotation.

Returns
Int

int

detail

abstract fun detail(): String!

Details, such as the reason of why the test is flaky.

Returns
String!

String