Unit tests
A step of the Cloud application tree on Gradus, in the Testing & resilience area: Tests, errors, SLOs.
Set up a test framework and write unit tests for the core logic, so regressions are caught before they ship.
Usually comes after: Runnable service.
Leads to: Centralized error handling, Test doubles & fixtures.
Prompt for your AI assistant
Set up a unit testing framework for this project and write tests covering the core business logic, aiming for meaningful coverage over the critical paths.This is https://gradus.kazet.blog/tree/cloud-application/step/unit-tests as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.