Skip to content

test: Migrate to Swift Testing #104

test: Migrate to Swift Testing

test: Migrate to Swift Testing #104

GitHub Actions / Swift tests on macos-14 failed Sep 7, 2024 in 1s

4 passed, 5 failed and 2 skipped

Tests failed

❌ results-swift-testing.xml

11 tests were completed in 473ms with 4 passed, 5 failed and 2 skipped.

Test suite Passed Failed Skipped Time
TestResults 4✔️ 5❌ 2✖️ 473ms

❌ TestResults

GitHubStatsCoreTests.EndpointSessionTests
  ✔️ testGetNextPagesUrl()
  ✔️ testGetNextPagesUrls()
GitHubStatsCoreTests.EndpointTests
  ✔️ testInvalidRepoPullRequests()
  ❌ testGetPullRequestsFilteredByAuthor()
	Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))
  ❌ testGetPullRequestsLimitedToMaxResults()
	Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))
  ❌ testGetPullRequestsWithMultiplePagesAndComplexFilter()
	Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))
  ❌ testGetPullRequestsFilteredByClosed()
	Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))
  ❌ testGetPullRequests()
	Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))
GitHubStatsCoreTests.RepoTests
  ✖️ testRepoInitWithSshUrl()
  ✔️ testRepoInitWithUrl()
  ✖️ testRepoInitWithHttpUrl()

Annotations

Check failure on line 0 in results-swift-testing.xml

See this annotation in the file changed.

@github-actions github-actions / Swift tests on macos-14

TestResults ► GitHubStatsCoreTests.EndpointTests ► testGetPullRequestsFilteredByAuthor()

Failed test found in:
  results-swift-testing.xml
Error:
  Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))

Check failure on line 0 in results-swift-testing.xml

See this annotation in the file changed.

@github-actions github-actions / Swift tests on macos-14

TestResults ► GitHubStatsCoreTests.EndpointTests ► testGetPullRequestsLimitedToMaxResults()

Failed test found in:
  results-swift-testing.xml
Error:
  Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))

Check failure on line 0 in results-swift-testing.xml

See this annotation in the file changed.

@github-actions github-actions / Swift tests on macos-14

TestResults ► GitHubStatsCoreTests.EndpointTests ► testGetPullRequestsWithMultiplePagesAndComplexFilter()

Failed test found in:
  results-swift-testing.xml
Error:
  Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))

Check failure on line 0 in results-swift-testing.xml

See this annotation in the file changed.

@github-actions github-actions / Swift tests on macos-14

TestResults ► GitHubStatsCoreTests.EndpointTests ► testGetPullRequestsFilteredByClosed()

Failed test found in:
  results-swift-testing.xml
Error:
  Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))

Check failure on line 0 in results-swift-testing.xml

See this annotation in the file changed.

@github-actions github-actions / Swift tests on macos-14

TestResults ► GitHubStatsCoreTests.EndpointTests ► testGetPullRequests()

Failed test found in:
  results-swift-testing.xml
Error:
  Caught error: keyNotFound(CodingKeys(stringValue: "status", intValue: nil), Swift.DecodingError.Context(codingPath: [], debugDescription: "No value associated with key CodingKeys(stringValue: \"status\", intValue: nil) (\"status\").", underlyingError: nil))