1. Episode #93
  2. Jun 14, 2021
  3. 58m
  4. 1h 1m

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.
  1. 58m podcast at transistor.fm
  2. 1h 1m video at youtube.com


Podcast Survey - https://brightdigit.typeform.com/to/yVZN2gIT
Youtube Video - https://youtu.be/OM9jbAbUXZ0

Related Episodes

Related Links

WWDC Sessions


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:

Also check out our episode with CEO Ariel Michaeli:

Try Appfigures for free, and if you like it use the special link to get 30% off for the next 3 months:


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

GitHub - @brightdigit

BrightDigit - @brightdigit

Leo - @leogdion

Leo - /u/leogdion



Instagram - @brightdigit


Music from https://filmmusic.io
"Blippy Trance" by Kevin MacLeod (https://incompetech.com)
License: CC BY (http://creativecommons.org/licenses/by/4.0/)

★ Support this podcast on Patreon ★