Episode Details
Back to EpisodesTest-Driven Development with Joshua Greene and Michael Katz
Description
Guests
- Joshua Greene - @jrg_developer - Senior Author for raywenderlich.com
- Michael Katz - @themikekatz - Senior Author for raywenderlich.com
Book - iOS Test Driven Development
Links
Previous Episodes
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
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 m