3 ms·
> Do you really need to write a test for that single expression setter? I doubt anyone does that. Having weird requirements like "all public methods should hav
by alkonaut 10y ago
> Do you really need to write a test for that single expression setter?
I doubt anyone does that. Having weird requirements like "all public methods should have at least one test" is insane. For many code bases that would be an order of magnitude more tests than a requirement of "100% test coverage"