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

Issue on multiple module mock files #360

Open sajjadhajavi opened 3 months ago

sajjadhajavi commented 3 months ago

Hi, My problem is I have a project with multiple modules. for example, I have a Common module and a Util Module. in the Common module, I have used Util then some Common's classes depend on some classes in Util. When I wanna write some tests for Common's classes every module has its mock.generated.swift file, then in Common's tests I don't have access to Util's mocks and I can't use Util's mocks in Common's tests.

is there any help?