By object of testing:
- unit tests — testing only one class/function, mocking all its dependencies;
- integration tests — testing several units at a time within the same project. Usually, in implies mocking of input data, like API calls;
- e2e tests — testing of the product. Usually is performed on the predefined DB snapshot, might test at the same time several