A tool for native generation of template code for testing in Swift.
Learn more about the tool in Wiki.
Starting with Xcode 16.4 (16F6) and Swift 6.1.1, you can use the prebuilt version of swift-syntax.
To enable it, use the
defaults write com.apple.dt.Xcode IDEPackageEnablePrebuilts YES
command or the --enable-experimental-prebuilts
parameter for CI builds.
The build time without cache for TestingMacroCollection
is reduced by approximately 4x.
TestingMacroCollection supports SPM, which is the recommended option. Xcode 15.0 and higher is required.
Learn more in Changelog.
Mock
AnyMockable
Arbitrary
AutoEquatable
PerformanceMeasure
TestingMacroCollection supports SPM, which is the recommended option. Xcode 15.0 and higher is required.