Jonathan Grynspan

Results 85 issues of Jonathan Grynspan

Unbounded ranges are not meaningful when used with `confirmation()` because _any_ confirmation count matches. As well, the `...` operator produces an instance of `UnboundedRange` which is a non-nominal type and...

enhancement
public-api
swift-6.1

Add support for non-copyable types as expectation arguments, e.g.: ```swift struct S: ~Copyable, ... {} let a: S = ... let b: S = ... #expect(a != b) #expect(a.foo()) #expect(a.isBar)...

enhancement
public-api

This PR adds a new `Issue` kind, `.recordedByTool`, that takes a custom payload provided by a third-party tool or library (e.g. Nimble). This case can then be used to distinguish...

enhancement
tools integration
public-api

This PR adds a `Test.isRunning` static property that tells the caller if _any_ thread/task/queue/etc. is currently running Swift Testing code. This property is distinct from `Test.current` because that property has...

enhancement
tools integration
public-api

Swift Testing should adopt `Mutex` from [SE-0433](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0433-mutex.md). We won't be able to adopt on Darwin due to back-deployment requirements, but we can adopt for Linux/Windows. Linux needs one `pthread_mutex_t` for...

concurrency
windows
linux
wasi/wasm
less-c++

On terminal apps that support it (mainly Linux), we could add support for Sixel graphics to improve the display of test diamond symbols from `swift test`. On macOS, when SF...

enhancement
help wanted
tools integration
linux
command-line experience

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

enhancement
tools integration

We should document how to integrate Swift Testing into CI flows using the JSON ABI.

documentation
enhancement
tools integration

This PR adds the ability to specify a prefix that should be applied to all output from the command line when using `swift test`. For example, if you specify the...

enhancement
swiftpm-integration

Per @finestructure 's comment [here](https://github.com/apple/swift-testing/pull/470#discussion_r1636395363): > [...] (And drop the `swift_version: 6.0` line once Swift 6.0 is released.)

tools integration