3 ms·
Tests should document behavior and aid in refactoring and maintaining boundaries. E2e tests don’t document modules (functions/types), only the highest interface
by alkonaut 6y ago
Tests should document behavior and aid in refactoring and maintaining boundaries. E2e tests don’t document modules (functions/types), only the highest interface, and it doesn’t maintain any separation of layers etc.
All kinds of tests are needed, but I find the pyramid arises from the fact that there are a lot more low level units than high level behaviors.