Base interface for suite rule, which is initialized or disposed before or after execution of all tests in the scope (package for top-level value or class for attribute).

Usage: Declare attribute or top-level value satisfies the interface and mark it with testRule() annotation.

By: Lis
Since 0.6.0

no type hierarchy

no supertypes hierarchy

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
disposeshared formal void dispose(AsyncPrePostContext context)

Test callback which is called once after all tests within the scope (package for top-level value or class for attribute) are completed.

Parameters:
  • context

    Prepost context to report on test aborts or ask to procceed with the test as normal.

initializeshared formal void initialize(AsyncPrePostContext context)

Test callback which is called once before all tests within the scope (package for top-level value or class for attribute) are started.

Parameters:
  • context

    Prepost context to report on test aborts or ask to procceed with the test as normal.

Inherited Methods
Methods inherited from: Object
equals