#Unit-Testing
2 notas · última:
-
No excuses, write unit tests
O texto defende que testes unitários mostram como o código se comporta, ajudam a detectar mudanças que quebram APIs e deslocam a correção de bugs para antes da produção.
-
This Is Why We Don't Test Private Methods
The post argues that private methods should be tested indirectly through public behavior, because direct tests break encapsulation and expose internals that other code should not use.