group function

  1. @isTestGroup
void group(
  1. Object description,
  2. void body(
    1. {dynamic skip,
    2. int? retry}

    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.

    If skip is a String or true, the group is skipped. If it's a String, it should explain why the group is skipped; this reason will be printed instead of running the group's tests.


    void group(Object description, void Function() body, { dynamic skip, int? retry }) {
      _maybeConfigureTearDownForTestFile();, body, skip: skip, retry: retry);