Suite constructor

Suite(
  1. Group group,
  2. SuitePlatform platform, {
  3. bool ignoreTimeouts = false,
  4. String? path,
})

Creates a new suite containing group.

If platform and/or os are passed, group is filtered to match that platform information.

If os is passed without platform, throws an ArgumentError.

Implementation

Suite(Group group, this.platform, {this.ignoreTimeouts = false, this.path})
  : group = _filterGroup(group, platform);