square/KIF — Issue #102: Unable to get tests to run. 
Author: AlexDang
Created: 2012-01-06 00:03:57+00:00
State: open

Hi! I have setup KIF and test scenarios/steps. However, as I run it,
it seems to have started the test, but doesn't really run.

I got message like

2012-01-05 12:17:19.620 Automation[51944:6a03] BEGIN KIF TEST RUN: 1
scenarios
2012-01-05 12:17:19.620 Automation[51944:6a03]
2012-01-05 12:17:19.621 Automation[51944:6a03]
---------------------------------------------------
2012-01-05 12:17:19.621 Automation[51944:6a03] BEGIN SCENARIO 1/1 (3
steps)
2012-01-05 12:17:19.622 Automation[51944:6a03] First Test
2012-01-05 12:17:19.622 Automation[51944:6a03]

And then nothing after that. Doesn't report success/failure or test
ends. And simulator doesn't show any action. Setting debugging break
point seems to suggests that it gets to the this point in
KIFTestController

- (void)_scheduleCurrentTestStep;
{
[self performSelector:@selector(_delayedScheduleCurrentTestStep)
withObject:nil afterDelay:0.01f];

}

But after that, it just finishes. I set a break point at
delayedScheduleCurrentTestStep method and it looks like it never gets
invoked. If I try to call [self _performTestStep:self.currentStep]
directly then it will crash due to a weblock issue.

Any clue on what I missed? Any help is appreciated. Thanks.