AppDeathMode

What the JUnit extension does about an app that died during a test (tap.appDeaths).

Entries

Link copied to clipboard

After every test (its @BeforeEach and @AfterEach methods included), ask each of its devices for watched deaths no client has (no command failed with them, no guard / allowDeaths / expectDeath took them). A passing test then fails with io.github.noamcohen48.tap.sdk.AppDiedException; a failing one fails with it instead, its own failure suppressed. The default; AllowAppDeath opts a test out.

Link copied to clipboard

Check nothing: a death fails a test only through a command that fails because of it.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.