Closed ajmccall closed 9 years ago
Nice! Thank you. If I remember correctly, something changed on travis that's causing the tests not to run anymore, I think the .travis.yml needs to be tweaked. We'll see what happens
Yeah, says it passes even though it didn't test anything. Blargh, let me see if I can fix that before merging this. https://travis-ci.org/mysterioustrousers/MTMigration/builds/58675306
That was quick. Just pushed a small change up. Moved [MTMigration reset];
into -(void) setup
as this was happening before each test was being run.
eh, the current tests are borked, merging this and then fixing travis.
Boom: https://travis-ci.org/mysterioustrousers/MTMigration/builds/58700176 Also added the build status to the readme. Thanks a lot for this, really appreciate it!
No problem.
I have another PR which you may or may not like. Wanted to write a unit test for it, one thing lead to another and this was the result.
Updated SenTests to XCTests using xCode
Convert To XCTests
Used
XCTestExpectations
, a block testing feature new to XCTest, to better check when or if blocks are being called in the tests.Removed
__block NSInteger val = 0;
previously used to test blocks.