29 ms·
Ours is different. Tests (end-to-end and integration) are at the bottom. If there are no tests that prove that the code works, we won't really look further bec
by sz4kerto 5y ago
Ours is different.
Tests (end-to-end and integration) are at the bottom. If there are no tests that prove that the code works, we won't really look further because we don't even know if the code implements the right thing. Then comes interfaces, then implementation, then style.
- sublimefire 5y agoWhat is more the tests will highlight the API and the expectations (see API semantics in the pyramid). By nature, the process of writing tests will usually catch some bugs. I'm not arguing for the tests to cover each possible scenario, but they must exist. If, on the other hand, it is hard to add the tests then it probably means you have bigger problems.