suite abstract method

void suite(
  1. String name,
  2. Boolean ignored,
  3. void suiteFn()
)

Declares a test suite.

  • name - name of the test suite, e.g. a class name.
  • ignored - whether the test suite is ignored, e.g. marked with Ignore annotation.
  • suiteFn - defines nested suites by calling kotlin.test.suite and tests by calling kotlin.test.test.

Implementation

Unit suite(
  String name,
  Boolean ignored,
  Unit Function() suiteFn,
);