Converting SenTesting framework tests to XCTests
Converting SenTesting framework tests to XCTests
- Subject: Converting SenTesting framework tests to XCTests
- From: William Squires <email@hidden>
- Date: Thu, 10 Jul 2014 14:31:25 -0500
I'm trying to convert some code that used the old(er) SenTesting framework. Now I want to use the XCTest stuff. I have the following line:
STAssertEquals(<int>, <int>, NULL); // <int> is just a int-type variable or constant
I figure the closest is:
XCTAssertEquals, but what does the NULL in the above line do? The 3rd argument for XCTAssertEquals is (I believe) (NSString *), in which case a "nil" should work, but Xcode complains. For now, I just have:
XCTAssertEquals(<int>, <int>, @"");
but this seems ugly.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden