WWDC24: Meet Swift Testing | Apple

Описание к видео WWDC24: Meet Swift Testing | Apple

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.

Discuss this video on the Apple Developer Forums:
https://developer.apple.com/forums/to...

Explore related documentation, sample code, and more:
Running tests and interpreting results: https://developer.apple.com/documenta...
Adding tests to your Xcode project: https://developer.apple.com/documenta...
Swift Testing: https://developer.apple.com/documenta...
Improving code assessment by organizing tests into test plans: https://developer.apple.com/documenta...
Swift Testing vision document: https://github.com/apple/swift-testin...
Swift Testing GitHub repository: https://github.com/apple/swift-testing
Go further with Swift Testing: https://developer.apple.com/videos/pl...

00:00 - Introduction
00:59 - Agenda
01:20 - Building blocks
01:58 - Building blocks: @Test functions
03:07 - Building blocks: Expectations (#expect and #require)
06:02 - Building blocks: Traits
06:49 - Building blocks: @Suite types
08:34 - Building blocks: Designed for Swift
09:14 - Common workflows
09:29 - Common workflows: Tests with conditions
10:56 - Common workflows: Tests with common characteristics
13:13 - Common workflows: Tests with different arguments
17:35 - Swift Testing and XCTest
21:52 - Open source
23:29 - Wrap up

More Apple Developer resources:
Video sessions: https://apple.co/VideoSessions
Documentation: https://apple.co/DeveloperDocs
Forums: https://apple.co/DeveloperForums
App: https://apple.co/DeveloperApp

Комментарии

Информация по комментариям в разработке