Using AI for Testing in iOS

Oct 28 2026 · Swift 5, iOS 27, Xcode 27

Lesson 02: Automated UI Testing

Testing the Running App With an AI Agent

Episode complete

Play next episode

Next

Written by the author, AI-editedAI-generated, author-verified How this module was made

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

Welcome to the second lesson of Testing with AI module. In this lesson, we will focus on the UI tests that the plan mentioned that they are meant to verify the app while it’s running in the simulator.

/device-interaction run UI tests in "test-plan.md" directly in the simulator within the AI session and report findings. Those Tests were meant to be implemented in TokensDashboardUITests.swift. Fix issues as you find them then confirm its fixed.
Don't Implement actual UI tests for now.
Use `xcrun simctl` commands to control the simulator settings for dynamic type or any accessibility settings.
Run only 1 test not all the cases and explain the findings as the test is running for Demo purposes
See forum comments
Cinema mode Download course materials from Github
Previous: Introduction Next: AI Breakpoints