Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WWDC 2021: What's New in Testing

WWDC 2021: What's New in Testing

A roundup of testing related new features from WWDC 2021. Slides from the 2021/06/10 Melbourne CocoaHeads Meetup.

Including: Xcode Cloud, XCTExpectFailure, addTearDownBlock, and Test Plans.

To learn more about testing in Swift, checkout my book Test-Driven Development in Swift.

Gio Lodi

June 10, 2021
Tweet

More Decks by Gio Lodi

Other Decks in Programming

Transcript

  1. • Xcode Cloud • async/await & test • XCTExpectFailure •

    Test Repetition • addTearDownBlock { }
  2. • Xcode Cloud docs homepage • Supports GitHub, GitHub Enterprise,

    Bitbucket Cloud, Bitbucket Server, GitLab, and GitLab self-managed instances • Environment Variables CI, CI_BUILD_ID, CI_XCODE_SCHEME, CI_TEST_PLAN, CI_PULL_REQUEST_NUMBER, … • Web Hooks – Note: You can configure up to five web hooks per Xcode Cloud product.
  3. • Vim key bindings introduce “Modal Editing” • Normal mode

    – Verb + Movement + Subject • Insert mode • Visual mode • Limited support (for now? $%)