Middle
What classes do you cover with unit tests?
sobes.tech AI
Answer from AI
I am testing classes that contain business logic, presenters, ViewModels, UseCases, and Repositories (without real network or database calls).
- Business Logic: Checks the correctness of main operations.
- Presenter/ViewModel: Tests data processing logic and interaction with UI (without the UI itself).
- UseCase: Verifies the execution of specific user scenarios.
- Repository: Tests data retrieval, processing, and transformation logic using mocks for data sources.
I strive to achieve high code coverage, especially for critically important modules.