Skip to content

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Sep 9, 2024

Motivation:

swift-testing has a number of advantages over XCTest (parameterisation, organisation, failure messages etc.), we should start using it instead of XCTest.

Modifications:

  • Convert the MethodConfig coding tests
  • Convert the Status tests
  • Convert the Metadata tests
  • Convert the Timeout
  • Add a dependency on swift-testing on Linux (this can be removed when it's included as part of the toolchain)
  • Fixed a couple of bugs found by additional testing

Results:

Fewer bugs, better tests

Motivation:

swift-testing has a number of advantages over XCTest (parameterisation,
organisation, failure messages etc.), we should start using it instead
of XCTest.

Modifications:

- Convert the MethodConfig coding tests
- Convert the Status tests
- Convert the Metadata tests
- Convert the Timeout
- Add a dependency on swift-testing on Linux (this can be removed when
  it's included as part of the toolchain)
- Fixed a couple of bugs found by additional testing

Results:

Fewer bugs, better tests
@glbrntt glbrntt added the version/v2 Relates to v2 label Sep 9, 2024
@glbrntt glbrntt requested a review from gjcairo September 9, 2024 09:04
@glbrntt
Copy link
Collaborator Author

glbrntt commented Sep 9, 2024

Closing in favour of separate PRs per test area.

@glbrntt glbrntt closed this Sep 9, 2024
@glbrntt glbrntt deleted the v2/swift-testing branch September 9, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

version/v2 Relates to v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant