swift-testing
swift-testing copied to clipboard
A modern, expressive testing package for Swift
Add files needed to build swift-testing with CMake. ### Motivation: Being able to build with CMake is useful in many scenarios. The immediate need is to bring `swift-testing` to Windows....
As discussed [in the forums](https://forums.swift.org/t/removal-of-string-literal-tag-definitions/71667), we are removing string literal tags. This PR removes the interfaces for them. It preserves `Tag.Kind` because that may prove to be a useful abstraction...
This PR promotes exit tests to API, pending approval of the proposal at https://github.com/swiftlang/swift-evolution/pull/2718. View the full proposal [here](https://github.com/grynspan/swift-evolution/blob/jgrynspan/swift-testing-exit-tests/proposals/testing/NNNN-exit-tests.md). ### Checklist: - [x] Code and documentation should follow the style...
Introduces additional documentation for expectations and confirmations. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or...
One of the features of swift-testing is a test traits system that allows associating metadata with a test suite or test function. One trait in particular, `.bug()`, has the potential...
This PR changes the initializers for `.bug()` from ones taking an undecorated and unspecified "identifier" to ones taking either a URL (as a string) or a numeric ID ("bug number.")...
_[One line description of your change]_ ### Motivation: _[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]_ ### Modifications: _[Describe the...
### Description Currently the output to the console is flat: For example, the below console output... ``` ◇ Test run started. ↳ Testing Library Version: unknown (Swift 5.10 toolchain) ◇...
We have a bunch of functions that take separate, defaulted arguments for file ID, column, etc. We'd like to normalize these functions to always take a single `SourceLocation` instance, but...
### Description In doing integration tests for some server-side swift (and related client) libraries, some of the libraries I'm using require a single bootstrapping sequence _per process_ (swift-log, swift-distributed-tracing). Today...