Hi,
I was able to see the status of the XCTest test methods generated programmatically, but since Xcode 6.4 (approximately) I cant use the Test Navigator to see the results of this test methods.
I am using something like this to generate the test methods:
+ (id)defaultTestSuite
{
XCTestSuite *testSuite = [[XCTestSuite alloc] initWithName:NSStringFromClass(self)];
NSArray *tests = [self getDynamicTestCases];
for (NSString *test in tests) {
[self addTestWithDef:test toTestSuite:testSuite];
}
return testSuite;
}And overriding the name method:
- (NSString *)name {
NSString *testName;
testName = [NSString stringWithFormat:@"test%@", _testCaseName];
NSLog(@"%@", testName);
return testName;
}Now the only status that I see is for the main "template" testcase
But I used to see all my generated method in the navigator.
Any help would be appreciated.
Thanks in advance.