Skip to content

Support for skip/failure/expectedFailure messages #43

Support for skip/failure/expectedFailure messages

Support for skip/failure/expectedFailure messages #43

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.08s

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 85.25 % 422 495
  Math.swift 57.14 % 4 7
  DBShell.swift 100.00 % 16 16
  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 74.14 % 172 232
DBXCResultParser-TextFormatter 87.41 % 514 588
  DBShell.swift 100.00 % 16 16
  DTO+Helpers.swift 82.35 % 28 34
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  ActionTestSummaryDTO.swift 100.00 % 6 6
  DBXCTextFormatter.swift 98.92 % 92 93
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  Math.swift 57.14 % 4 7
  DBXCReportModel.swift 74.14 % 172 232
DBXCResultParser-TextFormatterTests 94.82 % 293 309
  DBXCTextFormatter.swift 98.92 % 92 93
  Measurement+TestHelpers.swift 33.33 % 3 9
  DBXCReportModel+TestHelpers.swift 100.00 % 51 51
  CoverageDTO+TestHelpers.swift 0.00 % 0 9
  DBXCTextFormatterTests.swift 100.00 % 147 147
DBXCResultParserTestHelpers 78.26 % 54 69
  CoverageDTO+TestHelpers.swift 0.00 % 0 9
  DBXCReportModel+TestHelpers.swift 100.00 % 51 51
  Measurement+TestHelpers.swift 33.33 % 3 9
DBXCResultParserTests 85.53 % 603 705
  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.swift 74.14 % 172 232
  DBShell.swift 100.00 % 16 16
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  Constants+Helpers.swift 75.00 % 9 12
  Measurement+TestHelpers.swift 33.33 % 3 9
  DBShellTests.swift 100.00 % 11 11
  DBXCReportModelTests.swift 100.00 % 57 57
  Math.swift 57.14 % 4 7
  DTO+Helpers.swift 82.35 % 28 34
  DBXCReportModel+TestHelpers.swift 100.00 % 51 51
Total 87.07 % 1886 2166

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.83s
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.11s
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)")