Gio Lodi 2/8/2019

How to TDD in Swift, a step by step guide

Read Original

This article provides a practical tutorial on implementing Test Driven Development (TDD) in Swift. It walks through building a digital menu iOS app, starting with a 'walking skeleton' and focusing on separating business logic from the UI layer. The guide demonstrates the TDD cycle by creating tests first for a MenuDataSource component using XCTest, explaining how to make tests pass with minimal code.

How to TDD in Swift, a step by step guide

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser