3 ms·
Tests can be good. Tests can be bad. - If you are writing a heavy algorithmic code, then write unit tests. - If you are writing glue code joining services,
by ashishb 2y ago
Tests can be good.
Tests can be bad.
- If you are writing a heavy algorithmic code, then write unit tests.
- If you are writing glue code joining services, then write integration tests.
- Integrating with third-party services means you prefer circuit-breakers and production monitoring over tests.
The tests should ideally be written along the axis of minimum change.
Or the test code churn alone would slow down the product.