QualityAssistant icon indicating copy to clipboard operation
QualityAssistant copied to clipboard

Suppressing rules for Mocks?

Open peteruhnak opened this issue 9 years ago • 1 comments

Mocketry (and I assume mocks in general) make use of #doesNotUnderstand: , which means that QA will go crazy. :)

For example, Mocketry uses Arg class for capturing arguments.. so I will see '[...] Messages sent but not implemented' for most of the uses.

I suppose the package target package (Mocketry) could somehow package rules modifying this behavior?

peteruhnak avatar Dec 20 '16 12:12 peteruhnak

You could disable the rule for the Mocketry package, but at the moment there is no way Mocketry can propagate this choice. What is the relation with Mocketry? Subclassing, or usage?

Uko avatar Dec 29 '16 15:12 Uko