swift testing
Generated on 7/31/2024
7 searches
Swift Testing was a significant topic at WWDC 2024, and it was covered in multiple sessions. Here are some key points and sessions related to Swift Testing:
-
Meet Swift Testing:
- This session provides an in-depth look at the new Swift Testing framework, which is designed to be expressive, easy to learn, and cross-platform. It introduces the
@Test
attribute, theexpect
andrequire
macros, and discusses how Swift Testing integrates with Swift concurrency and supports traits for specifying information per test or suite. - Meet Swift Testing
- This session provides an in-depth look at the new Swift Testing framework, which is designed to be expressive, easy to learn, and cross-platform. It introduces the
-
Platforms State of the Union:
- This session introduces Swift Testing as a new framework built from the ground up for Swift. It highlights its expressive APIs, cross-platform capabilities, and open-source development.
- Platforms State of the Union
-
What’s new in Swift:
- This session explores some of the features of Swift Testing, such as the
@Test
attribute, custom display names, and the use of tags to organize and filter tests. - What’s new in Swift
- This session explores some of the features of Swift Testing, such as the
-
What’s new in Xcode 16:
- This session demonstrates how Swift Testing works alongside existing XC tests and shows an example of creating and running tests using the new framework.
- What’s new in Xcode 16
-
Go further with Swift Testing:
- This session delves into advanced features of Swift Testing, such as writing expressive code, parameterized testing, organizing tests, and testing in parallel.
- Go further with Swift Testing
These sessions collectively provide a comprehensive overview of Swift Testing, from basic usage to advanced features and integration with existing tools. If you have specific questions about Swift Testing, these sessions are a great place to start.
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.
What’s new in Swift
Join us for an update on Swift. We’ll briefly go through a history of Swift over the past decade, and show you how the community has grown through workgroups, expanded the package ecosystem, and increased platform support. We’ll introduce you to a new language mode that achieves data-race safety by default, and a language subset that lets you run Swift on highly constrained systems. We’ll also explore some language updates including noncopyable types, typed throws, and improved C++ interoperability.
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.
What’s new in Xcode 16
Discover the latest productivity and performance improvements in Xcode 16. Learn about enhancements to code completion, diagnostics, and Xcode Previews. Find out more about updates in builds and explore improvements in debugging and Instruments.