Avatar
XCTestCase.setUpasync throws 版が使えませんか? https://developer.apple.com/documentation/xctest/xctest/3856481-setup
Provides an opportunity to reset state asynchronously and handle errors before calling each test method in a test case.