سؤال

I'm getting started with XCTest and only see bits and pieces of what is possible.

I know these functions:

XCTAssertEqualObjects
XCTAssertTrue

There is documentation in at "Unit Test Your App" https://developer.apple.com/library/ios/documentation/ToolsLanguages/Conceptual/Xcode_Overview/UnitTestYourApp/UnitTestYourApp.html

Also, I see the header file XCTestAssertions.h and some webpage here is http://iosunittesting.com/xctest-assertions/ and another at http://appleprogramming.com/blog/2013/12/26/xctest-assertions-documentation/

But is there primary and reliable current documentation for these functions?

هل كانت مفيدة؟

المحلول

Xcode 8 Update: XCTest now has official documentation.


I was able to extract an appledoc from the XCTest headers files and posted the documentation online. This has been last updated for Xcode 7.2.

Unofficial XCTest Documentation

نصائح أخرى

Updated documentation link is here:

https://developer.apple.com/documentation/xctest

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top