I tried a deinit method in my test class, however it isn't called. Using Xcode 13.3
CodePudding user response:
XCTestCase has a class method tearDown() which is called when all tests in the class are finished:
override class func tearDown() {
super.tearDown()
// Cleanup
}
