swift-testing icon indicating copy to clipboard operation
swift-testing copied to clipboard

A modern, expressive testing package for Swift

Results 103 swift-testing issues
Sort by recently updated
recently updated
newest added

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

enhancement
tools integration

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

tools integration
public-api

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

enhancement
tools integration
windows
linux
darwin
public-api
api-proposal
exit-tests
freebsd
openbsd

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

documentation
enhancement

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

public-api
api-proposal

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.")...

bug
enhancement
tools integration
public-api

_[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...

bug

### 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) ◇...

enhancement
swiftpm-integration
tools integration
command-line experience

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

enhancement
public-api
swift-6

### 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...

enhancement
tools integration