3 ms·
I think the largest challenge with Swift testing at the moment is the lack of easy mocking. You can define inline classes, but it's far inferior to the function
by mattnedrich 11y ago
I think the largest challenge with Swift testing at the moment is the lack of easy mocking. You can define inline classes, but it's far inferior to the functionality that something like Kiwi provided for Objective-C.
- mattko 11y agoThere are a couple promising open source libraries here:https://realm.io/news/tryswift-veronica-ray-real-world-mocking-swift/?utm_campaign=This%2BWeek%2Bin%2BSwift&utm_medium=email&utm_source=This_Week_in_Swift_83 https://realm.io/news/tryswift-veronica-ray-real-world-mocki...
- mattnedrich 11y agoThanks for the link, I'll take a look.