         XCTAssertEqualJSONOutput(result.consoleOutput, fixtures.testSampleAppTestRunRunWithAllTargetsAndJSONReporter)
         XCTAssertNil(result.testErrors)
         ["SampleTests", "SampleUITests", "SuccessfulTests"].forEach { (target) in
-            ["iPhone 5", "iPad Retina"].forEach { (device) in
-                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/iOS 9.3/\(device)/junit.xml").path, 0)
-                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/iOS 9.3/\(device)/Sample.log").path, 0)
-                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/iOS 9.3/\(device)/test.log").path, 0)
+            result.context.simulatorConfigurations.forEach { (simulator) in
+                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/junit.xml").path, 0)
+                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/Sample.log").path, 0)
+                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/test.log").path, 0)
             }
         }
     }

        XCTAssertEqual(result.failureCount, 0)
        XCTAssertEqualRSpecOutput(result.consoleOutput, fixtures.testSampleAppTestRunOnlyOneTarget)
        XCTAssertNil(result.testErrors)
        ["iPhone 5", "iPad Retina"].forEach { (device) in
            XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("SuccessfulTests/iOS 9.3/\(device)/junit.xml").path, 0)
            XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("SuccessfulTests/iOS 9.3/\(device)/Sample.log").path, 0)
            XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("SuccessfulTests/iOS 9.3/\(device)/test.log").path, 0)
        }
    }


        XCTAssertEqualRSpecOutput(result.consoleOutput, fixtures.testSampleAppTestRunOnlyFailingTestsOutput)
        XCTAssertNil(result.testErrors)
        ["SampleTests", "SampleUITests"].forEach { (target) in
            result.context.simulatorConfigurations.forEach { (simulator) in
                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/junit.xml").path, 0)
                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/Sample.log").path, 0)
                XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("\(target)/\(simulator.osVersionString)/\(simulator.deviceName)/test.log").path, 0)
            }
        }
    }
