Skip to content

Parsing without file usage #52

Parsing without file usage

Parsing without file usage #52

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
1183002.05s

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 ActionTestPlanRunSummariesDTOTests22000
test-class ActionsInvocationRecordDTOTests11000
test-class CoverageDTOTests20200
test-class DBShellTests11000
test-class DBXCReportModelTests10100

Failure Failures

DBXCResultParserTests/CoverageDTOTests/test_coverageDtoData()

File/Users/runner/work/DBXCResultParser/DBXCResultParser/Sources/DBXCResultParser/Models/DTO/DTO+Helpers.swift:44
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.43 % 428 501
  DBShell.swift 100.00 % 16 16
  Math.swift 57.14 % 4 7
  ActionTestSummaryDTO.swift 100.00 % 6 6
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  DTO+Helpers.swift 85.00 % 34 40
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  DBXCReportModel.swift 74.14 % 172 232
DBXCResultParser-TextFormatter 87.54 % 520 594
  DBShell.swift 100.00 % 16 16
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  ActionTestSummaryDTO.swift 100.00 % 6 6
  DBXCTextFormatter.swift 98.92 % 92 93
  DTO+Helpers.swift 85.00 % 34 40
  Math.swift 57.14 % 4 7
  ActionsInvocationRecordDTO.swift 90.00 % 9 10
  DBXCReportModel.swift 74.14 % 172 232
DBXCResultParser-TextFormatterTests 94.82 % 293 309
  DBXCTextFormatter.swift 98.92 % 92 93
  DBXCReportModel+TestHelpers.swift 100.00 % 51 51
  Measurement+TestHelpers.swift 33.33 % 3 9
  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.79 % 610 711
  ActionTestPlanRunSummariesDTOTests.swift 100.00 % 15 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
  Constants+Helpers.swift 75.00 % 9 12
  DBXCReportModel+Convenience.swift 98.42 % 187 190
  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 85.00 % 34 40
  DBXCReportModel+TestHelpers.swift 100.00 % 51 51
Total 87.23 % 1905 2184

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⏱️
2 (100%)0 (0%)0 (0%)0 (0%)0.09s
Successtest-method test_parseWithExplicitRefId()
Successtest-method test_parseWithImplicitRefId()

ActionsInvocationRecordDTOTests back

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

CoverageDTOTests back

SuccessFailureSkippedExpected Failure⏱️
0 (0%)2 (100%)0 (0%)0 (0%)0.84s
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.07s
Failuretest-method test()back

Annotations

Check failure on line 44 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)")