At the top, the title "Swift Testing Parameterized Tests" and at the bottom, a table with scientists conducting experiments.

Swift Testing parametrized tests

Swift Testing can elevate your unit tests writing 🚀 Hello Apple Developer! I prepared a special post that will help you write better unit tests using the new SwiftTesting framework 🫢 The Swift Testing framework is the successor to XCTest for unit tests. It was introduced at this year’s WWDC24 and is worth learning 📚 One of the main features of Swift Testing are parameterized tests 🧪 Click to learn how to leverage this new feature ⤵️ ...

August 12, 2024 · 1 min · Maciej Gomolka
On the left side, the post title, and on the right, an image with a list of 5 tests, each accompanied by tags.

Insights about Swift Testing Tags

Today, I have a special post about Apple’s new testing framework - Swift Testing! 🤩 Swift Testing was presented at WWDC24 as a new, modern, simplified framework for writing automated tests. It’s a perfect candidate to replace XCTest unit tests, so it’s definitely worth learning 🧑‍🏫 The topic of Swift Testing is quite broad, so I decided to break it down into more digestible parts, starting with Swift Testing Tags. What is this? 🤔 ...

July 11, 2024 · 1 min · Maciej Gomolka
Post title on the left, a diagram symbolizing the red-green-refactor approach

Testing SwiftUI Code - The beginning (UI)

Intro Hello everyone and welcome to my first (ever) blog series! Today, I’m going to begin experimenting with SwiftUI. The mission is to build a small application and having it fully tested 💯. I decided to go for that quest to broaden my knowledge around SwiftUI and verify the rumors that it cannot be tested. To keep it relatively readable I decided to split it up and we’re going to see how many parts we end up with. ...

June 6, 2024 · 10 min · Maciej Gomolka