Below is how a Test can be organised. Many of the tests are grouped as Test Bundles. Test bundles can contain multiple test classes. The Test classes can be mainly used for segregating tests into related groups, upto the developer either for functional or organisational purposes.
All test classes will be sub classes of XCTestCase
References:
https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/04-writing_tests.html#//apple_ref/doc/uid/TP40014132-CH4-SW1
No comments:
Post a Comment