iOSユニットのテスト方法
2333 ワード
XCTFail(format…)
XCTAssertNil(a1, format...)
XCTAssertNotNil(a1, format…)
XCTAssert(expression, format...)
XCTAssertTrue(expression, format...)
XCTAssertFalse(expression, format...)
XCTAssertEqualObjects(a1, a2, format...)
XCTAssertNotEqualObjects(a1, a2, format...)
XCTAssertEqual(a1, a2, format...)
XCTAssertNotEqual(a1, a2, format...)
XCTAssertEqualWithAccuracy(a1, a2, accuracy, format...)
XCTAssertNotEqualWithAccuracy(a1, a2, accuracy, format...)
XCTAssertThrows(expression, format...)
XCTAssertThrowsSpecific(expression, specificException, format...)
XCTAssertThrowsSpecificNamed(expression, specificException, exception_name, format...)
XCTAssertNoThrow(expression, format…)
XCTAssertNoThrowSpecific(expression, specificException, format...)
XCTAssertNoThrowSpecificNamed(expression, specificException, exception_name, format...)