Test-Driven Development in Swift with Gio Lodi

Test-Driven Development in Swift with Gio Lodi

In this episode, Leo is joined by Gio Lodi, author of Test-Driven Development in Swift with SwiftUI and Combine. We talk about how to do TDD with Swift but also SwiftUI and Combine as well as the new features revealed at WWDC 2021 like Async/Await, Xcode Cloud, expected failures, and test repetitions.

Guest

Related Episodes

Related Links

WWDC Sessions

Sponsors

AppFigures
The tools you need to monitor, optimize, and get more downloads.

There's a lot of demand for apps right now
, so it's a really great time to give it a try. It's easier than you think.
The guys who run it are indie devs who had a need and created a tool. 11 years later, it's an all-in-one platform for developers who want to get more downloads and make more money with their apps.

The folks at Appfigures have easy step-by-step guides and intuitive tools to do that, which many indie developers are using to get more downloads:
https://appfigures.com/resources/aso

Also check out our episode with CEO Ariel Michaeli:
https://share.transistor.fm/s/15b7ff63


Try Appfigures for free, and if you like it use the special link to get 30% off for the next 3 months:
https://appfigures.com/account/upgrade?p=empower3030

RevenueCat

Using RevenueCat to power your in-app purchase infrastructure solves:
  • For edge cases you don’t even know you have
  • Protects from outages your team hasn’t seen yet
  • Saves you time on future maintenance 
  • As well as new features released by the app stores
  • Empowers your marketing teams with clean, reliable IAP data
All that to say, RevenueCat handles all the headaches of in-app purchases so you can get back to building your app. Try RevenueCat today at revenuecat.com.

TDD Thoughts from WWDC 2021

  • Is Xcode Cloud Ready?
  • Who's the target audience for Xcode Cloud?
  • On Testing with Async/Await
  • Combine vs Async/Await
  • How to expect failures in Xcode 12.5
  • Testing Repetitions

TDD, SwiftUI & Combine

  • Why do TDD now in Swift?
  • Difficulties adopting it later in project
  • TDD in SwiftUI vs UIKit
  • Isolating Systems with TDD
  • What are the different types of Test Doubles?

Social Media

Credits



Thanks to our monthly supporters
  • Bertram Eber
  • Edward Sanchez
  • Satoshi Mitsumori
  • Steven Lipton
★ Support this podcast on Patreon ★

Creators and Guests

Leo Dion
Host
Leo Dion
Swift developer for Apple devices and more; Founder of BrightDigit; husband and father of 6 adorable kids
Gio 💻🔧📚
Guest
Gio 💻🔧📚
Dad. Writer of software at @automattic and words elsewhere on the net. Wrote https://t.co/zTAQ8m7fDz. Now working on something on productivity for remote devs—DM me!
Gio Lodi
Guest
Gio Lodi
Dad. Writer of software at Automattic and words elsewhere on the net. Wrote http://tddinswift.com.

Join our newsletter

checkmark Got it. You're on the list!
image of podcast supporter image of podcast supporter image of podcast supporter image of podcast supporter
Join 4 supporters
Mastodon © Bright Digit, LLC 2018