What is tested by unit tests?
The syntactical correctness of the source code of a software component.
The formal validity of a service's external REST API.
The integration of multiple component of the same software.
The correctness of a specific function of a software component.
The throughput, load capacity and latency of a service.
https://en.wikipedia.org/wiki/Unit_testing