In one of the last FAE/DDD meetings, it was mentioned that services should be developed according to Test-Driven Development. This mandates the usage of unit tests.
A decision is needed on what parts of the service should be validated by unit tests.
n/a
Some teams have written tests for parts of their tech stack, e.g. Spring or Kafka. We agreed that this doesn’t make any sense.
n/a
Teams should implement unit tests for the internal business logic as well as for their API.
Implementing unit tests for the internal business logic is the bare minimum. Unit tests for the APIs require additional time from the teams, but running into major problems during the integration testing phase would mess up the schedule for the whole project. Thus, unit tests are required for the APIs as well, so the risk of major hickups at the integration testing phase is massively reduced.