Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Provider Logo

iOS App Development: Test-Driven Development

via LinkedIn Learning

Overview

Learn to write flexible, modular, and high-quality Swift code for your iOS apps with test-driven development tools and techniques.

Test-driven development (TDD) makes us more pragmatic, efficient, and creative software developers. TDD is especially critical in the mobile world, where a quality codebase isn't an option; it's a requirement to launch. This course aims to better equip iOS developers with a model for developing strong, scalable, and tested code from the very first line. Start with some test-driven theory, progress to the fundamentals, and then build a small application that will put everything you learned to good use. Along the way, find out how to write your first unit test using Xcode and Swift, and conduct interface testing specifically for table views. Instructor Harrison Ferrone helps you understand TDD theory and practice, enabling you to write coherent tests that reveal the true weaknesses in your code long before it ever goes to production.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. Foundation and Theory
  • What is test-driven development?
  • Why test-driven development?
  • Unit tests explained
  • Development techniques
  • Planning and design
2. Getting Started
  • Demo: What we're building
  • Project setup
  • Test case breakdown
  • Create a data model
  • Expand the data model
3. The Manager Class
  • Create the movie manager
  • Add manager functionality
  • Check off movies
  • Compare movies
  • Wrap up the movie manager
4. TableView Testing
  • Interface testing setup
  • Data source and delegate setup
  • TableView section one tests
  • TableView section two tests
  • Mocking the TableView cell
  • Configure the TableView cell
  • Test cell selection
5. Finishing Touches
  • Assemble the app
  • Code coverage
Conclusion
  • Next steps

Taught by

Harrison Ferrone

Related Courses

Reviews

0.0 rating, based on 0 reviews

Start your review of iOS App Development: Test-Driven Development

Never stop learning Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free