Closed staabm closed 7 months ago
While being useful to keep "public methods only for tests" skipped, this is a code smell. Test should never enforce source code to change. The API should be either updated or test redone to test the public API.
The goal of this package is to avoid such code smells.
Sometimes methods are declared public, just to be easy testable. from implementation side these might only be called privately.
I think we should not report such public methods, as these have valid calls from a test-case, as
because turning these methods private will lead to failling tests