You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a .mockingbird-ignore file at the root of my custom Swift Package just containing the name of the file but it has no effects.
When I activate verbose mode during mock generation mechanism, I can not see the relative file exclusion log, so I suppose it is why that it is not working
Example
The problematic relative file content
import Foundation
//FIXME: understand why https://mockingbirdswift.com/excluding-files not working
protocol DispatchQueueProtocol { //TODO: @all comment protocol to allow mocks generation
func async(execute work: @escaping @convention(block) () -> Void)
}
Expected Behavior
Generator does not consider this file (and this issue does not have to occur)
Environment
Mockingbird CLI version (mockingbird version) 0.20.0
Xcode and Swift version (swift --version) Xcode 14.3.1, Swift 5.8.1
New Issue Checklist
Overview
Hi,
I tried to ignore a file where I have defined a
@convention(block)
attribute by following https://mockingbirdswift.com/excluding-filesI created a
.mockingbird-ignore
file at the root of my custom Swift Package just containing the name of the file but it has no effects.When I activate verbose mode during mock generation mechanism, I can not see the relative file exclusion log, so I suppose it is why that it is not working
Example
The problematic relative file content
Expected Behavior
Generator does not consider this file (and this issue does not have to occur)
Environment
mockingbird version
) 0.20.0swift --version
) Xcode 14.3.1, Swift 5.8.1The text was updated successfully, but these errors were encountered: