Jonathan Grynspan
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...
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`,...
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...
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...
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...
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...
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...
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....
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]...
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...