Uko / QualityAssistant

A live feedback code quality tool for Pharo
MIT License
17 stars 1 forks source link

Suppressing rules for Mocks? #26

Open peteruhnak opened 7 years ago

peteruhnak commented 7 years ago

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?

Uko commented 7 years ago

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?