test abstract method

void test(
  1. String name,
  2. Boolean ignored,
  3. void testFn()
)

Declares a test.

  • name - the test name.

  • ignored - whether the test is ignored.

  • testFn - contains test body invocation.

Implementation

Unit test(
  String name,
  Boolean ignored,
  Unit Function() testFn,
);