Posts

Post marked as solved
4 Replies
3.6k Views
Looking at Apple's documentation such as https://developer.apple.com/documentation/xctest/xctestcase/understanding_setup_and_teardown_for_test_methods and many another unit testing with XCTestCase examples, you can see that by convention, in `setUp` and `tearDown` methods, there's always a call to super. Looking at the ObjC version of XCTestCase, these calls are not annotated with the call to `super` being required.When creating a new project with Xcode 10.1, the Unit Test template file doesn't have the call to super. What's the best practice? What's the right thing to do here?
Posted
by Soheil.
Last updated
.