Skip to content

Support for skip/failure/expectedFailure messages #42

Support for skip/failure/expectedFailure messages

Support for skip/failure/expectedFailure messages #42

GitHub Actions / Xcode test results failed Feb 27, 2024 in 0s

Xcode test results

Test DBXCResultParser-Package

Summary

TotalSuccess PassedFailure FailedSkipped SkippedExpected Failure Expected Failure⏱️ Time
1174002.06s

Test Summary

DBXCResultParser-TextFormatterTests

  • Device: Mac mini, 13.6.4 (22G513)
  • SDK: macOS 14.2, 14.2
TestTotalSuccessFailureSkippedExpected Failure
test-class DBXCTextFormatterTests44000

DBXCResultParserTests

  • Device: Mac mini, 13.6.4 (22G513)
  • SDK: macOS 14.2, 14.2
TestTotalSuccessFailureSkippedExpected Failure
test-class ActionTestPlanRunSummariesDTOTests21100
test-class ActionsInvocationRecordDTOTests11000
test-class CoverageDTOTests20200
test-class DBShellTests11000
test-class DBXCReportModelTests10100

Failure Failures

DBXCResultParserTests/ActionTestPlanRunSummariesDTOTests/test_parseWithExplicitRefId()

File/Users/runner/work/DBXCResultParser/DBXCResultParser/Sources/DBXCResultParser/Models/DTO/DTO+Helpers.swift:14
Issue TypeThrown Error
Messagefailed: caught error: "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

DBXCResultParserTests/CoverageDTOTests/test_coverageDtoData()

File/Users/runner/work/DBXCResultParser/DBXCResultParser/Sources/DBXCResultParser/Models/DTO/DTO+Helpers.swift:40
Issue TypeThrown Error
Messagefailed: caught error: "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

DBXCResultParserTests/CoverageDTOTests/test_coverageDtoParse()

File/Users/runner/work/DBXCResultParser/DBXCResultParser/Tests/DBXCResultParserTests/CoverageDTOTests.swift:19
Issue TypeAssertion Failure
MessageXCTAssertNoThrow failed: threw error "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

DBXCResultParserTests/DBXCReportModelTests/test()

File/Users/runner/work/DBXCResultParser/DBXCResultParser/Tests/DBXCResultParserTests/DBXCReportModelTests.swift:22
Issue TypeAssertion Failure
MessageXCTAssertEqual failed: ("nil") is not equal to ("Optional(477)")

Code Coverage

Coverage Covered Executable
DBXCResultParser 84.96 % 418 492
  DBShell.swift 100.00 % 16 16
  Math.swift 57.14 % 4 7
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  ActionTestSummaryDTO.swift 100.00 % 6 6
  DTO+Helpers.swift 82.35 % 28 34
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  DBXCReportModel.swift 73.36 % 168 229
DBXCResultParser-TextFormatter 87.16 % 509 584
  DBShell.swift 100.00 % 16 16
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  ActionTestSummaryDTO.swift 100.00 % 6 6
  DBXCTextFormatter.swift 98.91 % 91 92
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  Math.swift 57.14 % 4 7
  DTO+Helpers.swift 82.35 % 28 34
  DBXCReportModel.swift 73.36 % 168 229
DBXCResultParser-TextFormatterTests 94.65 % 283 299
  DBXCReportModel+TestHelpers.swift 100.00 % 48 48
  DBXCTextFormatter.swift 98.91 % 91 92
  Measurement+TestHelpers.swift 33.33 % 3 9
  CoverageDTO+TestHelpers.swift 0.00 % 0 9
  DBXCTextFormatterTests.swift 100.00 % 141 141
DBXCResultParserTestHelpers 77.27 % 51 66
  CoverageDTO+TestHelpers.swift 0.00 % 0 9
  DBXCReportModel+TestHelpers.swift 100.00 % 48 48
  Measurement+TestHelpers.swift 33.33 % 3 9
DBXCResultParserTests 85.26 % 596 699
  ActionTestPlanRunSummariesDTOTests.swift 93.33 % 14 15
  CoverageDTO+TestHelpers.swift 0.00 % 0 9
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  ActionTestSummaryDTO.swift 100.00 % 6 6
  CoverageDTOTests.swift 72.22 % 26 36
  OverviewReportDTOTests.swift 100.00 % 10 10
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  DBShell.swift 100.00 % 16 16
  DBXCReportModel.swift 73.36 % 168 229
  Constants+Helpers.swift 75.00 % 9 12
  DBXCReportModelTests.swift 100.00 % 57 57
  DBShellTests.swift 100.00 % 11 11
  Measurement+TestHelpers.swift 33.33 % 3 9
  Math.swift 57.14 % 4 7
  DTO+Helpers.swift 82.35 % 28 34
  DBXCReportModel+TestHelpers.swift 100.00 % 48 48
Total 86.78 % 1857 2140

Details

Test Details

DBXCResultParser-TextFormatterTestsback

DBXCTextFormatterTests back

SuccessFailureSkippedExpected Failure⏱️
4 (100%)0 (0%)0 (0%)0 (0%)0.00s
Successtest-method test_testResult_any_count()
Successtest-method test_testResult_any_list()
Successtest-method test_testResult_failure_count()
Successtest-method test_testResult_success_list()

DBXCResultParserTestsback

ActionTestPlanRunSummariesDTOTests back

SuccessFailureSkippedExpected Failure⏱️
1 (50%)1 (50%)0 (0%)0 (0%)0.09s
Failuretest-method test_parseWithExplicitRefId()back
Successtest-method test_parseWithImplicitRefId()

ActionsInvocationRecordDTOTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.04s
Successtest-method test()

CoverageDTOTests back

SuccessFailureSkippedExpected Failure⏱️
0 (0%)2 (100%)0 (0%)0 (0%)0.81s
Failuretest-method test_coverageDtoData()back
Failuretest-method test_coverageDtoParse()back

DBShellTests back

SuccessFailureSkippedExpected Failure⏱️
1 (100%)0 (0%)0 (0%)0 (0%)0.01s
Successtest-method test()

DBXCReportModelTests back

SuccessFailureSkippedExpected Failure⏱️
0 (0%)1 (100%)0 (0%)0 (0%)1.10s
Failuretest-method test()back

Annotations

Check failure on line 14 in DBXCResultParser/Sources/DBXCResultParser/Models/DTO/DTO+Helpers.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Thrown Error

failed: caught error: "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

Check failure on line 40 in DBXCResultParser/Sources/DBXCResultParser/Models/DTO/DTO+Helpers.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Thrown Error

failed: caught error: "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

Check failure on line 19 in DBXCResultParser/Tests/DBXCResultParserTests/CoverageDTOTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertNoThrow failed: threw error "dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Garbage at end around line 1, column 4." UserInfo={NSDebugDescription=Garbage at end around line 1, column 4., NSJSONSerializationErrorIndex=4})))"

Check failure on line 22 in DBXCResultParser/Tests/DBXCResultParserTests/DBXCReportModelTests.swift

See this annotation in the file changed.

@github-actions github-actions / Xcode test results

Assertion Failure

XCTAssertEqual failed: ("nil") is not equal to ("Optional(477)")