Skip to content

Frequently asked questions

How do we verify business rules and integrations?

Separating domain logic, use cases and adapters lets us test each responsibility appropriately. We combine business-rule tests, integration tests and relevant product journeys according to the risk of a change.

An approval rule can be tested with different amounts and permissions without relying on an external service. Integration tests then check that the adapter correctly interprets data and errors from the actual system or a controlled test environment.

End-to-end journeys verify that the parts work together for important operations. The aim is to detect incorrect behaviour and regressions; neither TypeScript types nor a coverage percentage replace checking the cases that matter to the business.

More questions

Reading guide · Markdown
How do we verify business rules and integrations?