MakeAWishFoundation / SwiftyMocky

Framework for automatic mock generation. Adds a set of handy methods, simplifying testing. One of the best and most complete solutions, including generics support and much more.
MIT License
1.03k stars 104 forks source link

Support Sourcery V2.0.3 #352

Open chamnan1111 opened 1 year ago

chamnan1111 commented 1 year ago
CedricGatay commented 11 months ago

Do you have any plan on merging this one, Sourcery 2.1.1 is out now and templates are broken with it too :(

chamnan1111 commented 11 months ago

Do you have any plan on merging this one, Sourcery 2.1.1 is out now and templates are broken with it too :(

I don't permission for merge this pull request. we must waiting for repo owner.

pschneider commented 11 months ago

Hello, some feedback regarding this :

We tried it in two of our projects and mock generation works as expected with this change. We've also tested it successfully with the latest Sourcery version by adding sourceryCommand: mint run krzysztofzablocki/Sourcery@2.1.1 sourcery to our Mockfiles.

markst commented 5 months ago

Do we need to update the comment on the templates?

Required Sourcery: 1.8.0
teesit-nn commented 4 months ago

@Przemyslaw-Wosko @spaluchiewicz It would be great if you can have a look at this PR.