https://www.youtube.com/watch?v=VNmtmz3mJN4&
Deep dive into InjectionTDD - how to perform iOS unit tests realtime, without rebuilding entire Xcode project.
30. InjectionForXcode Swift
limitations
• classes inherit from NSObject
• non-final classes
• non-final methods
• no structs/enums, no extensions
• no global functions
• no methods/properties added
64. Installation
• Download Injection For Xcode with TDD
• correct xcode-select -p
• Integrate InjectionTDD to your project
• e.g. pod 'InjectionTDD', '~> 0.4’
• ⌘+U