I’m Jon Reid, and I want to introduce you to a new testing tool for Swift called ApprovalTests. Table of Contents Adding ApprovalTestsWriting Test CodeRunning Tests for iOSFile ArtifactsQuestions? Adding ApprovalTestsWe’re going to start in an iOS application. You can see I have a very simple app that has a place for unit tests.The first

Read More

What’s new for unit testing from WWDC21? Xcode 13 promises async, but many of us can’t use that for a couple of years. Instead, I want to look at new unit testing features we can use right away in Xcode 12.5. (Watch the 10-minute video above, or keep reading below…) Table of Contents Why Focus on

Read More

Say you have a project named SampleProject. And you want to create a new unit test suite. So you Command-N to make a new file, and select “Unit Test Case Class.”If we give it the name AppleTests, here’s what Apple provides:// // AppleTests.swift // SampleProjectTests // // Created by Jon Reid on 12/12/20. // import

Read More

You have a job where you work all day on a computer. And now, during this global pandemic, you’ve suddenly been working from home. How can you set up an inexpensive ergonomic solution so you don’t injure yourself? Normally, Quality Coding focuses on technical agile skills for iOS developers. But because of my past, and these

Read More

WWDC20 has wrapped up. What’s new this year for unit testing? Let’s look at the changes Apple has made for the Xcode 12 beta, and also some changes in the current version of Xcode. Hello, I’m Jon Reid from QualityCoding.org. Every summer, Apple has their Worldwide Developer’s Conference, part of which is announcing updates to their

Read More