setUpAll function
Registers a group-level setup callback as an Allure fixture.
Implementation
void setUpAll(
FutureOr<dynamic> Function() callback, {
t.TestLocation? location,
}) {
final plugin = _ensureAllureInstalled();
final groupPath = PackageTestScopeRegistry.instance.currentPath;
final packagePath = PackageTestScopeRegistry.instance.currentPackagePath ??
resolvePackageTestPathFromDeclaration(
locationUri: location?.uri,
stackTrace: StackTrace.current,
);
t.setUpAll(
plugin.wrapSetUpAll(
callback,
groupPath: groupPath,
packagePath: packagePath,
),
location: location,
);
}