Jonathan Grynspan

Results 85 issues of Jonathan Grynspan

This PR completely rewrites how we capture expectation conditions. ### Explanation For example, given the following expectation: ```swift #expect(x.f() == 123) ``` We currently detect that there is a binary...

enhancement
public-api
issue-handling

This PR replaces most of our uses of `JSONEncoder` with a home-grown implementation. Types conform to the internal `JSON.Serializable` protocol and emit strings, numbers, dictionaries, arrays, etc. Unlike with `Codable`,...

tools integration
embedded-swift
issue-handling

We need to update our documentation, especially around `@Suite` and `@Test`, to discuss raw identifiers in place of the `displayName` argument. In particular, where we currently recommend something like: ```swift...

documentation
enhancement
raw-identifiers

This PR adds a variant of the `.serialized` that causes annotated tests and suites to run in serial _after_ all other test content has run, in effect allowing them to...

enhancement
concurrency
public-api

This PR adds on to the Core Graphics cross-import overlay added in #827 to allow attaching instances of `NSImage` to a test. `NSImage` is a more complicated animal because it...

enhancement
darwin
public-api
attachments/activities

This PR adds an experimental class property to `Bundle` in the Foundation cross-import overlay. The property's value represents the bundle containing the test target. On Apple platforms, this is an...

enhancement
public-api

This PR causes Swift Testing to write "barriers" (known sequences of bytes) to `stdout` and `stderr` in the child process created by an exit test. Then, in the parent, these...

bug
tools integration
workaround
exit-tests
command-line experience

Add support for Embedded Swift: - [ ] Audit our platform-specific code and add branches for Embedded Swift based on what we can assume is available in a standards-compliant libc....

enhancement
help wanted
embedded-swift
new-platform-support

This PR removes the legacy test content discovery mechanism that is based on finding protocol conformances in the type metadata section emitted by the Swift compiler. ### Checklist: - [x]...

enhancement
tools integration
embedded-swift
less-c++
discovery
tech-debt

Add support for QNX: - [ ] Audit our platform-specific code and add branches for QNX (mostly, but not entirely, the same as Linux) - [ ] Set up team...

enhancement
help wanted
qnx
new-platform-support