Need to stub a method inside a Swift class you’re testing? Consider subclassing and overriding inside your test target. You can even subclass inside your test class or inside your test method.


Originally published at jtbrown.org.

Show your support

Clapping shows how much you appreciated Josh Brown’s story.