diff --git a/Shims/Shimulator/TestReporterShim/XCTestReporterShim.m b/Shims/Shimulator/TestReporterShim/XCTestReporterShim.m index ca9d5eb49..9c549927f 100644 --- a/Shims/Shimulator/TestReporterShim/XCTestReporterShim.m +++ b/Shims/Shimulator/TestReporterShim/XCTestReporterShim.m @@ -614,6 +614,7 @@ static void listBundle(NSString *testBundlePath, NSString *outputFile) NSString *testKey = nil; parseXCTestCase(testCase, &className, &methodName, &testKey); NSString *legacyTestName = [NSString stringWithFormat:@"%@/%@", className, methodName]; + NSLog(@"Found test: %@", legacyTestName); [testsToReport addObject:@{ kReporter_ListTest_LegacyTestNameKey: legacyTestName, kReporter_ListTest_ClassNameKey: className, diff --git a/XCTestBootstrap/Strategies/FBListTestStrategy.m b/XCTestBootstrap/Strategies/FBListTestStrategy.m index cb0fe55a2..88fa34c72 100644 --- a/XCTestBootstrap/Strategies/FBListTestStrategy.m +++ b/XCTestBootstrap/Strategies/FBListTestStrategy.m @@ -38,10 +38,10 @@ - (instancetype)initWithStrategy:(FBListTestStrategy *)strategy reporter:(id * (NSArray *libraries){ NSDictionary *environment = [FBListTestStrategy setupEnvironmentWithDylibs:libraries shimPath:shimPath shimOutputFilePath:shimOutput.filePath bundlePath:self.configuration.testBundlePath]; - + return [[FBListTestStrategy listTestProcessWithTarget:self.target configuration:self.configuration @@ -171,6 +171,7 @@ - (instancetype)initWithTarget:(id *> *tests = [NSJSONSerialization JSONObjectWithData:shimBuffer.data options:0 error:&error]; if (!tests) { + NSLog(@"Shimulator buffer data (should contain test information): %@", shimBuffer.data); return [FBFuture futureWithError:error]; } NSMutableArray *testNames = [NSMutableArray array]; @@ -211,7 +212,7 @@ - (instancetype)initWithTarget:(id