.st0{fill:#FFFFFF;}

TDD Sample App: The Complete Collection …So Far 

 August 31, 2016

by  Jon Reid

When I began my TDD Sample App, my hope was that it would help us explore a number of topics around TDD and Tidy Code.

On one hand, the app itself has barely progressed. However, the blog posts cover a surprising variety of topics.

By User:Booyabazooka, User:Meph666 modified by User:Niabot (Image:Rubik’s cube v2.svg) [GFDL or CC-BY-SA-3.0], via Wikimedia Commons

Subject categories (of all posts)

In fact, the sample-related posts span across my blog categories:

But a problem with these category archives is it’s hard to see what’s related to the Marvel Browser project. And now there are really two sample apps: one in Objective-C, and one in Swift. I hope to keep them going in parallel.

The TDD Sample App posts

So here are the posts specifically about the sample app, in order:

  1. TDD Sample App: 20 Topics that May Spill Out
  2. Xcode Warnings: Can You Turn Them Up to Eleven?
  3. Spike Solutions: 7 Techniques You Can Use
  4. How to Rearrange Xcode Projects to Increase Testing
  5. How to Easily Switch Your iOS App Delegate for Testing
  6. 7 TDD Techniques from a Case Study
  7. But Does It Work? Boost Confidence with Acceptance Tests
  8. Request Model: How to Architect Web Service Apps
  9. Value Objects: AppCode’s Code Generation to the Rescue
  10. TDD Networking with DI: Is It Really That Easy?
  11. 3 Reasons Why It’s Important to Refactor Tests
  12. How to Avoid Problems with Assertion Test Helpers
  13. How to Make Your Own OCHamcrest Matcher for Powerful Asserts
  14. Can TDD Be Simple? With Preparation, Yes
  15. How a TDD Mistake Revealed an Error in My Design
  16. What Would MacGyver Do? Quickly Hack a Spike Test!
  17. Look, Mom! My First Spike Solution in Swift
  18. How Can Swift Language Features Improve Testability?
  19. How to Structure Tests that Do Real Networking
  20. How Does Swift Support Stubbing and Mocking?
  21. How to Design Swift Mock Objects
  22. Have You Wished You Could Fake a Return Value in Swift?
  23. Your TDD Will Improve as Your Design Sense Improves
  24. JSON Parsing: One of the Easiest Places for TDD beginners
  25. 100% Coverage of Edge Cases: How to Safely Parse JSON
  26. Revealing Hidden Objects: Can Domain-Driven Design Improve Your Code?
  27. Refactoring Demo: Is It More than Just Changing Stuff?
  28. How to Mock Standalone Functions …Without Changing the Call Sites
  29. The 3 Laws of TDD: Focus on One Thing at a Time

These posts only scratch the surface. I have a lot, lot more I hope to explore and share with you. Subscribe to my newsletter so you don’t miss a thing!

Jon Reid

About the author

Programming was fun when I was a kid. But working in Silicon Valley, I saw poor code lead to fear, with real human costs. Looking for ways to make my life better, I learned about Extreme Programming, including unit testing, test-driven development (TDD), and refactoring. Programming became fun again! I've now been doing TDD in Apple environments for 20 years. I'm committed to software crafting as a discipline, hoping we can all reach greater effectiveness and joy.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>