Base interface for test statement, which is applied after execution of each test in the scope (package for top-level value or class for attribute) and may report additional messages to the test results using AsyncTestContext submitted to apply().

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
applyshared formal void apply(AsyncTestContext context)

Applies this statement using context.
The method is called by test executor for each attribute or top-level value annotated with testRule() after each test function in the scope (package for top-level value or class for attribute) is executed.

AsyncTestContext.complete() has to be called when the statement application is completed!

Parameters:
  • context

    Context to make additional reports on the test results.

Inherited Methods
Methods inherited from: Object
equals