---
type: video
yt_id: VVU2YVRMdUlfajQtMHdpRFN6bWFQY3RRLkI0eUo4NUlhVFV3
videoId: B4yJ85IaTUw
title: "TDD and Unit Testing in iOS | Part 1 Stateless Objects"
date: "2020-11-02T18:53:42Z"
slug: "tdd-and-unit-testing-in-ios-part-1-stateless-objects"
image: 
  name: "tdd-and-unit-testing-in-ios-part-1-stateless-objects.jpg"
  alt: "TDD and Unit Testing in iOS | Part 1 Stateless Objects"
  width: 1280
  height: 720
status: 'published'
description: "Learn how to use the XCTest framework to write unit tests for stateless objects."
tags: ['iOS', 'Swift', 'tdd', 'test driven development', 'automated testing']
---

Learn how to use the XCTest framework to write unit tests for stateless objects.

🔗Code:
[https://github.com/Sam-Meech-Ward/ios-testing-weekly-budget/](https://github.com/Sam-Meech-Ward/ios-testing-weekly-budget/)

🔗Entire iOS Playlist 
[https://www.youtube.com/playlist?list=PL0X6fGhFFNTfUIRSuiVFZmuMGeSUYkNzh](https://www.youtube.com/playlist?list=PL0X6fGhFFNTfUIRSuiVFZmuMGeSUYkNzh)


