When writing automated tests, we use test data to test certain use cases. Common way One common way is creating test data via a constant. let restaurantWithOnlyName = Restaurant( name: "Delicioso food", cuisines: nil, rating: nil ) A...

Markdown supported Β· ββ΅ to post
Kithin Y.
Nice write-up! I have found that the more complex your data, the more useful it is to have a Builder.
Amit Jangirh
An iOS app developer
Good one, will try it.