Frage

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?

War es hilfreich?

Lösung

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

Andere Tipps

Updated documentation link is here:

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top