Android Test Generator
Automatically generates standardized, architecture-aware Android unit tests using MockK and Coroutines based on your implementation code.
The Android Test Generator is a specialized Claude Code skill designed to accelerate Android development by automating the creation of high-quality unit tests. It intelligently analyzes implementation code to identify class roles—such as Reducers, StateManagers, ViewModels, or UseCases—and applies corresponding templates following industry best practices. By integrating project-specific configurations, it ensures consistent testing patterns across Domain, Data, and UI layers while handling complex scenarios like Kotlin value classes, Coroutine dispatchers, and Android Framework dependencies.
주요 기능
01Seamless integration with MockK, JUnit, and Google Truth libraries
02Template-based generation for Reducers, UseCases, Repositories, and ViewModels
03Intelligent resolution of value class mocking and Android Framework constraints
04Specialized handling for Coroutine testing with runTest and TestScope
05Automatic class type detection for MVI and Clean Architecture layers
063 GitHub stars
사용 사례
01Quickly bootstrapping test suites for new UseCases or Repositories in a Clean Architecture project
02Automating repetitive MVI state transition tests for complex ViewModels and Reducers
03Ensuring consistent testing patterns and naming conventions across large Android engineering teams