WWDC24: Go further with Swift Testing | Apple

Поділитися
Вставка
  • Опубліковано 29 вер 2024
  • 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.
    Discuss this video on the Apple Developer Forums:
    developer.appl...
    Explore related documentation, sample code, and more:
    Running tests and interpreting results: developer.appl...
    Adding tests to your Xcode project: developer.appl...
    Swift Testing: developer.appl...
    Improving code assessment by organizing tests into test plans: developer.appl...
    Swift Testing vision document: github.com/app...
    Swift Testing GitHub repository: github.com/app...
    Meet Swift Testing: developer.appl...
    Meet async/await in Swift: developer.appl...
    00:00 - Introduction
    00:36 - Why we write tests
    00:51 - Challenges in testing
    01:21 - Writing expressive code
    01:35 - Expectations
    03:58 - Required expectations
    04:29 - Tests with known issues
    05:54 - Custom test descriptions
    07:23 - Parameterized testing
    12:47 - Organizing tests
    12:58 - Test suites
    13:33 - The tag trait
    20:38 - Xcode Cloud support
    21:09 - Testing in parallel
    21:36 - Parallel testing basics
    24:26 - Asynchronous conditions
    26:32 - Wrap up
    More Apple Developer resources:
    Video sessions: apple.co/Video...
    Documentation: apple.co/Devel...
    Forums: apple.co/Devel...
    App: apple.co/Devel...

КОМЕНТАРІ •