Created
September 7, 2012 15:18
-
-
Save lukeredpath/3667088 to your computer and use it in GitHub Desktop.
SenTestHelpers.h
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import "SenTestHelpers.h" | |
| DEFINE_TEST_CASE(ExampleTestCase) | |
| - (void)testItWorksProperly | |
| { | |
| expect(@"foo").to.equal(@"foo"); | |
| } | |
| END_TEST_CASE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define DEFINE_TEST_CASE_WITH_SUBCLASS(name, subclass) \ | |
| @interface name : subclass \ | |
| @end \ | |
| @implementation name \ | |
| #define DEFINE_TEST_CASE(name) DEFINE_TEST_CASE_WITH_SUBCLASS(name, SenTestCase) | |
| #define END_TEST_CASE \ | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment