Trying out ApprovalTests for iOS.

Photo by Andrea Cau on Unsplash

It is a testing tool to simplify testing assertions, by allowing you to compare a snapshot of your SUT. This tool also helps to quickly add a verification assertion like “ApprovalTests.verify(myObject)”, and continue creating your production code without thinking about your assertion beforehand.

”A picture’s worth a 1000 tests.”

It is used for many languages, including Swift for iOS developers.

Check my substack on this article

Previous
Previous

Transforming iOS Development: My Journey from Conventional Coding to Test-Driven Development

Next
Next

New Pomodoro Timer For WatchOS