Stuart Montgomery
Stuart Montgomery
_[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...
Begin including documentation for `@_spi` declarations in local development (non-distribution) builds, and fix all newly-revealed DocC issues in those SPI declarations. I also took this opportunity to simplify the mechanism...
### Description This tracks making it possible to repeat a test in `swift-testing` multiple times. I imagine it would be best expressed as a `Trait` type, and would require associated...
### Description We should have an API or mechanism to perform an action once inside a suite type before or after running _all_ of that suite's tests. Conceptually, this would...
As mentioned in the (now approved) [A New Direction for Testing in Swift](https://github.com/swiftlang/swift-evolution/blob/main/visions/swift-testing.md#distribution) vision document, we're planning to include the swift-testing project in Swift toolchains soon. In preparation for that,...
Add an EditorConfig (`.editorconfig`) file to this repo. ### Motivation: [EditorConfig](https://editorconfig.org) helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. It...
Property accesses in failed expectations sometimes include their value twice in expanded description
This fixes a bug in which some property access expressions passed to `#expect` or other expectations will include their value twice, redundantly, in the expanded description if they fail. Here...
This modifies the behavior of `MacroExpansionContext.lexicalContext` such that any preceding `try` or `await` expressions are included. Motivation: The `#expect` macro in Swift Testing currently cannot propagate `try` or `await` placed...
This includes an API proposal and code changes to introduce new API for custom traits to customize test execution. View the [API proposal](https://github.com/stmontgomery/swift-testing/blob/publicize-CustomExecutionTrait/Documentation/Proposals/NNNN-custom-test-execution-traits.md) for more details. ### Motivation: One of...
### Description We should document the pattern for using `.serialized` discussed in the comments on https://github.com/swiftlang/swift-testing/issues/683#issuecomment-2344972238. I think this would be a natural addition to our [`Parallelization.md`](https://github.com/swiftlang/swift-testing/blob/main/Sources/Testing/Testing.docc/Parallelization.md) DocC article.