Skip to content
Test-Driven Development with Joshua Greene and Michael Katz episode artwork

Jun 16, 2019 47 min

Test-Driven Development with Joshua Greene and Michael Katz

from Empower Apps Hosted by Leo Dion, Principal CEO and Swift Developer at BrightDigit

Guests Joshua Greene - @jrg_developer - Senior Author for raywenderlich.com Michael Katz - @themikekatz - Senior Author for raywenderlich.com Book - iOS Test Driven Development Links Nimble Quick Previous Episodes Episode 14: iOS App Architecutre Show Notes The Components of Test-Driven Development Keep Your Iterations Small Test First Circular Progress of Testing and Developing Functionality Avoid Testing other APIs (i.e. Integration Testing) Use Mock Data for Outside Dependencies Behavioral Driven Development vs XCTest How to Encourage TDD in Your Team and Company Make sure Maintainability and Specs are Met Prevent Regressions with New Features Regular Code Reviews Tests Should Be Required Before Deployment Encourage a Culture of Testing Slow Add Tests to Projects Missing Them Common Mistakes When Doing Test Driven Development Following the Golden Pathand not testing edge cases and errors Following Test Coverage too strictly or not enough Use Multiple Test Targets Write Tests First For Experimenting with New APIs Use Spike Solutions to Experiment Write Temporary Tests Use Playground to Test Code Continuous Integration Tools Jenkins Travis-CI CircleCI Xcode Server Fastlane WWDC and TDD New Performance Tests Test Plan for Xcode SwiftUI, Live Previews, and Modeling WWDC 2019 - Testing in Xcode Social Media Twitter - @brightdigit Facebook - BrightDigit Brand New Instagram! - @brightdigit Full Transcription Leo Dion (Host): So hey guys, how's it going? [00:00:01] Michael Katz (Guest): Great. How are you? [00:00:02] Leo Dion (Host): Good good, just been trying to catch up with WWDC. What's your general thoughts so far. [00:00:07] Michael Katz (Guest): It seems like this is about the biggest one we've had since they introduced Swift. There's just so much stuff. [00:00:12] Leo Dion (Host): Yeah, that's exactly what I was thinking especially with the UI changes. So have you started investing money to buy a $1000 stand? [00:00:20] Michael Katz (Guest): Yeah, I wish. Fortunately at my company, we actually do video editing. We have editing bays already have racks of Mac Pros. So I assume that those will get upgraded with the new machines at the fancy monitor so I can go downstairs and drool over them when I'm not actually. It's working on my MacBook. [00:00:36] Leo Dion (Host): Yeah, I mean that's the thing about these devices. They're not for developers like there for video editing like massive 3d rendering that kind of stuff and big production companies [00:00:45] Joshua Greene (Guest): Maybe if you're doing like 3D games or something as a developer. I could see it being really worthwhile but for business or Enterprise type apps it may be a little bit of an overkill which is definitely pretty awesome. But day to day maybe not so much. [00:00:59] Leo Dion (Host): Yeah, exactly. So if people want to tweet at us or we're also at brightdigit on Twitter at brightdigit on Instagram and Facebook. Let us know your thoughts on WWDC and any thoughts you might have about all the new stuff that's coming out. [00:01:15] Guys, so apparently you have a book coming out pretty soon. Is that correct? So go ahead and introduce yourselves to let me know a little bit about this book. [00:01:24] Joshua Greene (Guest): So my name is Joshua Greene. I am a longtime author for RayWenderlich.com [00:01:30] I've done everything from creating tutorials to books to videos. This is a new project that we're putting together to teach test-driven development it's called iOS Test-Driven Development by Tutorials [00:01:45] Michael Katz (Guest): And I'm Michael Katz and similar story. I've been with Ray Wenderlich for a number of years and also done books tutorials. [00:01:53] Spoke at the RW Devcon. Haven't done any screen cast yet, but maybe someday and they are passionate about test-driven development and we both came I think independently to the idea of writing a testing book and editor-in-chief put us together. And here we are most of the way through it. [00:02:11] Just getting ready to finally finish it up. [00:02:13] Leo Dion (Host): So test-driven development, I remember once it was like almost more than half decade ago, probably almost 10 years ago, I went to a conference in Chicago and I think it was Bob Martin who gave a talk on test-driven development the idea being like first you write your test and then you write your code. [00:02:33] Is that kind of the gist of it or what are the components of test-driven development? What exactly does that mean? [00:02:39] Joshua Greene (Guest): Yeah, definitely writing tests first is definitely a big part of it. Keeping iterations small. I think test-driven development is all about, you know, writing one small thing you write a small test to implement something that you need to get implemented. [00:02:54] You show the test actually doesn't pass you implement. Whatever code is required to get it the pass and then you verify it passes. And you just repeat this process over and over so that when you finally, you know, got your app out not only have you got all the features written you've got all of the tests that you're going to need alongside it but it's not like you just write all the tests in advance. It's literally a small step by a small step is kind of what makes it different and special. [00:03:20] Michael Katz (Guest): It's a circle you just go over and over again at a little test and yet add some code to fix that test and you test the next piece and you add the code for that and so on so you're always in lockstep. [00:03:31] Leo Dion (Host): So the problem I have had with test-driven development and iOS is some of the stuff that is pertaining to like the UI or perhaps like test-driven development, sometimes you have different screen sizes, obviously, you might have to deal with something like core data or networking. How do you overcome tho...

Episode details come from the podcast's RSS feed.

Embed this episode

In this episode we talk with Joshua Greene and Michael Katz, authors of iOS Test Driven Development by Tutorials. In this episode, we talk about: - Why is test-driven development is important for any dev team? - How is TDD best employed with iOS development - What are some exceptions to test-driven development?

Ready to play

Test-Driven Development with Joshua Greene and Michael Katz

0:00 47:04

No transcript yet.

Requests help us decide what to transcribe next.

The eCommerce Coach School Rolland Peter Introducing "The eCommerce Coach School," your ultimate destination for mastering the art of selling physical products online and building a thriving eCommerce business. Each episode is meticulously designed to empower you with the knowledge, strategies, and practical tips you need to excel in the fast-paced realm of online commerce. Whether you're a seasoned entrepreneur or just starting out, our podcast provides invaluable insights into selling physical products on leading marketplaces such as Amazon, as well as hybrid platforms like Shopify.Immerse yourself in engaging conversations with industry leaders, trailblazers, and eCommerce gurus who share their real-world experiences, proven techniques, and actionable advice. From mastering the art of product sourcing and inventory management to optimizing your sales funnels and enhancing customer experience, we cover every aspect of the eCommerce journey.But it doesn't stop there. "The eCommerce Coach School" goes beyond the business r From Passion to Profit: Heart Centered Strategies for FitPros Nichola Page Welcome to From Passion to Profit, the ultimate resource for fitness professionals driven by their passion to inspire and empower others on their business journey. Hosted by Nichola Page, a seasoned health and fitness business specialist, this show is tailored for FitPros and Studio Owners looking to supercharge their small business. Discover game-changing strategies and actionable tactics that will not only help you attract and retain clients but also transform your health & fitness venture into a thriving small business. Dive deep into topics like marketing, sales, financials, client retention, and business scalability. Learn how to master the art of growing a health & fitness business, and unlock the secrets to financial security, freedom, and flexibility. Join Nichola each week as she and her industry guests provides invaluable insights to guide you towards a successful and sustainable fitness business. Whether you've had your business for years or just starting ou A Shortcut Podcast Shortcut Group If you have a passion for apps and the process of creating them, then you don't want to miss this podcast. "A Shortcut Podcast" features conversations with app experts from Shortcut and other industry leaders. We cover the latest news and trends that you should be aware of, while also speaking with professionals involved in design, iOS, Android, and decision-making.

Frequently asked questions

How long is this episode of Empower Apps?

This episode is 47 minutes long.

When was this Empower Apps episode published?

This episode was published on June 16, 2019.

Can I download this Empower Apps episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.