         XCTAssertEqualRSpecOutput(result.consoleOutput, fixtures.testSampleAppTestRunOnlySuccessfulTestsOutput)
         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)
+            result.context.simulatorConfigurations.forEach { (simulatorConfiguration) in
+                let url = result.context.output.urlFor(simulatorConfiguration: simulatorConfiguration, target: target)
+                XCTAssertFileSizeGreaterThan(url.appendingPathComponent("junit.xml").path, 0)
+                XCTAssertFileSizeGreaterThan(url.appendingPathComponent("Sample.log").path, 0)
+                XCTAssertFileSizeGreaterThan(url.appendingPathComponent("test.log").path, 0)
             }
         }
     }

        XCTAssertEqual(result.failureCount, 0)
        XCTAssertEqualRSpecOutput(result.consoleOutput, "..")
        XCTAssertEqual(result.testErrors?.count, 2)
        result.context.simulatorConfigurations.forEach { (simulator) in
            XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("CrashTests/\(simulator.osVersionString)/\(simulator.deviceName)/Crash.log").path, 0)
            XCTAssertFileSizeGreaterThan(result.context.output.url.appendingPathComponent("CrashTests/\(simulator.osVersionString)/\(simulator.deviceName)/test.log").path, 0)
            XCTAssertDirectoryContainsFileThatHasSuffix(result.context.output.url.appendingPathComponent("CrashTests/\(simulator.osVersionString)/\(simulator.deviceName)").path, ".crash")
        }
    }


        XCTAssertEqual(result.failureCount, 0)
        XCTAssertEqualRSpecOutput(result.consoleOutput, fixtures.testSampleAppTestRunOnlyOneTarget)
        XCTAssertNil(result.testErrors)
        result.context.simulatorConfigurations.forEach { (simulatorConfiguration) in
            let url = result.context.output.urlFor(simulatorConfiguration: simulatorConfiguration, target: "SuccessfulTests")
            XCTAssertFileSizeGreaterThan(url.appendingPathComponent("junit.xml").path, 0)
            XCTAssertFileSizeGreaterThan(url.appendingPathComponent("Sample.log").path, 0)
            XCTAssertFileSizeGreaterThan(url.appendingPathComponent("test.log").path, 0)
        }
    }

