Android Testing Strategy & Setup
Analyzes and configures comprehensive testing infrastructures for native Android applications, covering unit, UI, screenshot, and end-to-end tests.
This skill automates the complex process of architecting a robust testing ecosystem for Android projects. It begins by analyzing your project's current dependencies, such as Dependency Injection frameworks (Hilt, Koin) and UI patterns (Compose, Views), to recommend the ideal testing stack. It then implements a multi-layered strategy that includes local unit tests with JUnit and Mockk, UI testing with Espresso or Compose APIs, advanced screenshot testing using Roborazzi or Dropshots, and end-to-end journeys with UI Automator, while also ensuring testability through automated refactoring for fakes and mocks.