POS Unit Tests
SkillDatabases & dataPOS unit testing patterns (WooPosCoroutineTestRule, runTest, advanceUntilIdle, mockito-kotlin, event bus mocking, analytics verification). Use when writing, editing, exploring, debugging, or reviewing unit tests for POS (WooPos*) code. NOT for main store app tests — use the `store-tests` skill instead.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the POS Unit Tests skill
What this skill tells your AI
The instructions your AI receives, as published by woocommerce/woocommerce-android in .agents/skills/pos-tests/SKILL.md and read by ahel’s review.
@docs/pos-testing.md
Workflow
- Read the class under test to understand its dependencies and state management
- Find existing tests in the same package for patterns to follow
- Test location: mirror main source path under
src/test/withinui/woopos/ - Write the test class following the POS conventions in the testing doc above
- Run the test:
./gradlew :WooCommerce:testWasabiDebugUnitTest --tests "*.ClassName"
Signals
- GitHub stars
- 319
- Forks
- 146
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
pos-tests- Source
- github.com/woocommerce/woocommerce-android