Skip to content

仓库 files navigation

TestingMacroCollection

A tool for native generation of template code for testing in Swift.

Overview

Learn more about the tool in 维基.

Performance

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.

Requirements

TestingMacroCollection supports SPM, which is the recommended option. Xcode 15.0 and higher is required.

Languages and Versions

Version changes

Learn more in Changelog.

Documentation

Mock
AnyMockable
Arbitrary
AutoEquatable
PerformanceMeasure

Installation and build

TestingMacroCollection supports SPM, which is the recommended option. Xcode 15.0 and higher is required.

关于

A tool for native generation of template code for testing in Swift.

Topics

Resources

Stars

15 stars

关注者

2 watching

复刻s

发布

贡献者

Languages