A New Approach to Testing in Swift

this can be done today with Swift macros. there's some great community support specifically for mock generation. it would be awesome to see first class support for mock generation, but i think that's a topic that's already been solved in numerous acceptable ways