TestEvent.group constructor
A group event is emitted before any TestStartEvents for tests in a given group.
This is the only event that contains the full metadata about a group; future events will refer to the group by its opaque ID.
This includes the implicit group at the root of each suite, which has a null name. However, it does not include implicit groups for the virtual suites generated to represent loading test files.
If the group is skipped, a single TestStartEvent will be emitted for a test within the group, followed by a TestDoneEvent marked as skipped. The group.metadata field should not be used for determining whether a group is skipped.
Implementation
factory TestEvent.group(Group group, {required int time}) = TestEventGroup;