describe function

  1. @isTestGroup
void describe(
  1. Object description,
  2. void body()
)

Creates a group of tests.

A group's description (converted to a string) is included in the descriptions of any tests or sub-groups it contains. setUp and tearDown are also scoped to the containing group.

Implementation

@isTestGroup
void describe(Object description, void Function() body) {
  context(description, body);
}