πŸ“ˆ Unit Testing in Swift: Mocking

Welcome to the fourth part of the Unit Testing in Swift series!
In this article we will look into implementing custom mock classes to be in complete control of your code while unit testing. If you are new to unit testing and want to learn how to start unit testing with Swift in Xcode, I suggest you take a step back to Part 1: The Fundamentals of the series, before reading further. And if you are wondering why mocking is even…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kewin

Kewin

Lead iOS Engineer @ Jabra πŸ‡©πŸ‡° Full time πŸ’»πŸ“² β€” part time β€πŸŠπŸΌπŸš΄πŸΌπŸƒπŸ»β›·βš½οΈ