setUpAll method
Registers a function to be run once before all tests.
Implementation
void setUpAll(
FutureOr<dynamic> Function() callback, {
TestLocation? location,
}) {
_checkNotBuilt('setUpAll');
if (_collectTraces) _setUpAllTrace ??= Trace.current(2);
_setUpAllLocation ??= location;
_setUpAlls.add(callback);
}