XCTest

Testing Phones

XCTest Line by Line

Note: this article is up to date as of Swift 5.0 and Xcode 10.2 XCTest is Apple’s framework for testing code and user interfaces. It provides a variety of methods for testing equality, comparison, and error-throwing. However, the function names can be longer than the test input, making it hard to see what is going […]

Read More
computer with typing image

XCTest and Optional Unwrapping

XCTest is designed to help write tests in Swift and is used for Swift packages and applications. The preferred unit test Swift organizes test cases and asserts expectations in your application code. One of the biggest challenges to Unit Testing in Swift is often the setup. XCTest helps manage optionals Swift, Swift guard let and Swift assertions. Learn the problem with XCTest and the simple fix to help you use it in a more efficient way.

Read More