logoalt Hacker News

lucamark • yesterday at 9:15 PM • 1 reply • view on HN

From a practical standpoint, I struggle to see the benefits of this 5-axis taxonomy buys us over the classic 2D model.

What: Functional (business logic) vs. non-functional (latency, resilience and robustness).

Level: Unit, integration, or system.

Yes the boundaries between unit and integration are not always well-defined. But strong static typing already eliminates whole classes of invalid inputs at compile time without needing runtime contracts and simplifies the unit-integration boundary.

Where I do see real value here is in test design to create more robust and resilient tests.


Replies

emscb • today at 12:03 AM

One thing it could buy: when I trimmed my tests because CI was too slow, it was hard to find the ones that were truly redundant. Tests that match on scope, hypothesis, oracle and method seem like good candidates to merge. Has anyone tried using the vocabulary that way?