Store App Unit Tests
@docs/store-testing.md
Workflow
- Read the class under test to understand its dependencies, public API, and state management
- Find existing tests in the same package/feature for patterns to follow
- Determine test location: mirror main source path under
src/test/ - Write the test class following the conventions in the testing doc above
- Run the test:
./gradlew :WooCommerce:testWasabiDebugUnitTest --tests "*.ClassName"- For libs:
./gradlew :libs:<module>:testDebugUnitTest --tests "*.ClassName"
- For libs: