XCTestMetric
Generated on 8/4/2024
1 search
XCTestMetric is a performance testing API used in XCTest, which is Apple's framework for unit testing in Xcode. According to the context provided, Swift Testing does not support performance testing APIs like XCTestMetric. Therefore, if you need to perform performance testing, you should continue using XCTest.
For more details on this, you can refer to the session Meet Swift Testing at timestamp 20:45.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
Meet Swift Testing
Introducing Swift Testing: a new package for testing your code using Swift. Explore the building blocks of its powerful new API, discover how it can be applied in common testing workflows, and learn how it relates to XCTest and open source Swift.
Go further with Swift Testing
Learn how to write a sweet set of (test) suites using Swift Testing’s baked-in features. Discover how to take the building blocks further and use them to help expand tests to cover more scenarios, organize your tests across different suites, and optimize your tests to run in parallel.