-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Some tests contain static guards against second launch.
In this case they will pass but won't check anything.
- (void)testAddClassMethodIfNeedWithSelector
{
static BOOL firstTestRun = YES;
if (firstTestRun) {
}
}Please use comments or XCTFail() for such cases.
- (void)testAddClassMethodIfNeedWithSelector
{
static BOOL firstTestRun = YES;
if (firstTestRun) {
}
else
{
XCTFail( @"Test cannot be run twice" );
return;
}
}Metadata
Metadata
Assignees
Labels
No labels