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