Parse log from `swift test`
rakaramos opened this issue · 0 comments
rakaramos commented
Muter should properly parse output from swift test
The following is parsed as passed
[4/4] Linking fooPackageTests
Test Suite 'All tests' started at 2020-10-22 11:14:14.654
Test Suite 'fooPackageTests.xctest' started at 2020-10-22 11:14:14.655
Test Suite 'fooTests' started at 2020-10-22 11:14:14.655
Test Case '-[fooTests.fooTests test_colorCycle]' started.
/private/var/folders/xy/2gwd4xw17_x3r_x80n1djh340000gp/T/TemporaryItems/(A Document Being Saved By muter)/foo/Tests/fooTests.swift:44: error: -[fooTests.fooTests test_colorCycle] : XCTAssertEqual failed: ("red") is not equal to ("green")
/private/var/folders/xy/2gwd4xw17_x3r_x80n1djh340000gp/T/TemporaryItems/(A Document Being Saved By muter)/foo/Tests/fooTests.swift:49: error: -[fooTests.fooTests test_colorCycle] : XCTAssertEqual failed: ("green") is not equal to ("red")
Test Case '-[fooTests.fooTests test_colorCycle]' failed (0.055 seconds).
Test Case '-[fooTests.fooTests test_givenAnImageWithHiddenData_thenDecodeIt]' started.
Exited with signal code 4