A blazing fast and consistent generation of mocks with SwiftyMocky | Swift Heroes 2024 Talk

🎟️ 2025 Edition 8-9 April, Turin: https://swiftheroes.com/2025/tickets/ ⏩ Chapter: 00:00 Intro 05:55 XCTests 08:56 Coverage 10:29 SwiftyMocky 101 12:06 How to integrate SwiftyMocky 14:58 CodeExample 18:01 How to debug with SwiftyMocky 20:26 Blazing fast compilation 22:59 How to split Mock.generated 26:36 Summary A blazing fast and consistent generation of mocks with SwiftyMocky – ready to revolutionize your Swift unit testing workflow? In this Swift Heroes 2025 talk, iOS Engineers Sara Sipione and Davide Tamiazzo share how their team streamlined testing and cut CI times by up to 46% using SwiftyMocky – an open-source library for mock generation in Swift. 🚀 Whether you're tired of writing mocks by hand or just want to boost test coverage with minimal effort, this talk is packed with real examples, debugging tips, and advanced optimization techniques. You’ll learn: How to generate Swift mocks automatically using Sourcery annotations How to integrate SwiftyMocky into your app or modular architecture Why breaking up Mock.generated.swift can significantly speed up CI Performance tips, support for concurrency & generics, and more Perfect for developers working on large Swift codebases, teams scaling their test suite, or anyone curious about leveling up their unit testing game. 🎤 SARA SIPIONE, iOS Engineer 🎤 DAVIDE TAMIAZZO, Senior iOS Engineer 📍Swift Heroes 2024 was hosted in Turin, 18-19 April. Attended by 400 iOS developer participants and broadcast to an additional 200 Swift enthusiasts across the globe. The agenda covered a range of important iOS developer topics including SwiftUI, the composable architecture, accessibility, developer tools, testing and much more. All the other talks are coming out, don't miss them... 📌 For more engaging content and expert insights, subscribe to our channel and hit the notification bell. 🛎️ Inform: https://swiftheroes.com/ ✅ Tweet:   / swiftheroes_it   ✅ Connect:   / swift-heroes   ✅ Read: https://telegram.me/swiftheroes #SwiftHeroes #SwiftyMocky #iOSDevelopment #UnitTesting #SwiftHeroes2025 #MockGeneration #SwiftTesting #SwiftCI #Sourcery #iOSDevTools #SwiftAutomation

Swift Ownership: A road to predictable Swift performance | Swift Heroes 2024 Talk
▶︎

Swift Ownership: A road to predictable Swift performance | Swift Heroes 2024 Talk

Adventures in WebAssembly - Swift edition | Swift Heroes 2024 Talk
▶︎

Adventures in WebAssembly - Swift edition | Swift Heroes 2024 Talk

How A/B Testing can ruin your codebase | Swift Heroes 2025
▶︎

How A/B Testing can ruin your codebase | Swift Heroes 2025

Why Aliens Would NEVER Invade Africa
▶︎

Why Aliens Would NEVER Invade Africa

Building Swift CLIs that your users and contributors love | Swift Heroes 2024 Talk
▶︎

Building Swift CLIs that your users and contributors love | Swift Heroes 2024 Talk

Software engineering at the tipping point
▶︎

Software engineering at the tipping point

From Modularization to Clang and Back | Swift Heroes 2025
▶︎

From Modularization to Clang and Back | Swift Heroes 2025

How AI agents & Claude skills work (Clearly Explained)
▶︎

How AI agents & Claude skills work (Clearly Explained)

Should You Still Become a Software Engineer in 2026? GitHub VP
▶︎

Should You Still Become a Software Engineer in 2026? GitHub VP

The FDE Playbook for AI Startups with Bob McGrew
▶︎

The FDE Playbook for AI Startups with Bob McGrew

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker
▶︎

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems | Mike Stonebraker

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan
▶︎

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

LLMs for iOS Devs: How to Generate SwiftUI & Business Logic! | Swift Heroes 2024 Talk
▶︎

LLMs for iOS Devs: How to Generate SwiftUI & Business Logic! | Swift Heroes 2024 Talk

Full Walkthrough: Workflow for AI Coding — Matt Pocock
▶︎

Full Walkthrough: Workflow for AI Coding — Matt Pocock

Kotlin Multiplatform for iOS: Myths vs Reality, JetBrains | Swift Heroes 2025
▶︎

Kotlin Multiplatform for iOS: Myths vs Reality, JetBrains | Swift Heroes 2025

The Man Asked If I Was Still Looking for My Son—Then He Said, “I’m the Kid in..." - Calm Dad Stories
▶︎

The Man Asked If I Was Still Looking for My Son—Then He Said, “I’m the Kid in..." - Calm Dad Stories

SwiftTesting: What You Need to Know Before Migrating! | Swift Heroes 2025
▶︎

SwiftTesting: What You Need to Know Before Migrating! | Swift Heroes 2025

Mistakes Happen – What Could Possibly Go Wrong in Production? | Swift Heroes 2025
▶︎

Mistakes Happen – What Could Possibly Go Wrong in Production? | Swift Heroes 2025

A deep dive into SwiftData | Swift Heroes 2024 Talk
▶︎

A deep dive into SwiftData | Swift Heroes 2024 Talk

Ex-Google Insider: You're Not Ready For The Next Phase of AI
▶︎

Ex-Google Insider: You're Not Ready For The Next Phase of AI