문제

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