本文へ移動
cccskills
無料GitHub で公開

store-tests

Main app unit testing patterns (BaseUnitTest, BDD naming, mockito-kotlin, AssertJ, StateFlow/LiveData capture, coroutine dispatchers). Use when writing, editing, exploring, debugging, or reviewing unit tests in the store management app. For POS (WooPos*) tests, use the `pos-tests` skill instead.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md953 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Store App Unit Tests

@docs/store-testing.md

Workflow

  1. Read the class under test to understand its dependencies, public API, and state management
  2. Find existing tests in the same package/feature for patterns to follow
  3. Determine test location: mirror main source path under src/test/
  4. Write the test class following the conventions in the testing doc above
  5. Run the test: ./gradlew :WooCommerce:testWasabiDebugUnitTest --tests "*.ClassName"
    • For libs: ./gradlew :libs:<module>:testDebugUnitTest --tests "*.ClassName"

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Repair a failing WooCommerce Android Maestro flow by reproducing it against the store it runs on, inspecting Maestro selectors, patching the smallest selector/wait/setup issue, and rerunning with repeat evidence. Human-triggered only.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

pos

無料

POS (Point of Sale) architecture and patterns. Use when writing, editing, exploring, debugging, fixing bugs, implementing features, or reviewing WooPos-prefixed classes or files under ui/woopos/. POS uses a different architecture than the main app — plain ViewModel (not ScopedViewModel), pure Compose (no Fragments), Compose Navigation (no nav graphs), parent-child SharedFlow event bus. Loading this skill prevents applying main-app patterns that would be wrong for POS. For analytics use `pos-analytics`, for tests use `pos-tests`.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

POS analytics tracking patterns (WooPosAnalyticsEvent sealed class, WooPosAnalyticsTracker, WooPosAnalyticsEventConstant). Use when writing, editing, exploring, debugging, or reviewing analytics tracking in POS (WooPos*) code. NOT for main store app — use the `store-analytics` skill instead.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

pos-tests

無料

POS 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.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

pr

無料

Create a pull request following project conventions. Triggers on any request to create, open, make, submit, file, send, push, spin up, put up, draft, raise, or prepare a PR/pull request.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

Address PR reviewer feedback by evaluating comments, proposing fixes, and executing after user approval. Use when the user wants to handle review comments on an existing PR, address PR feedback, fix PR comments, respond to reviewer suggestions, or process code review feedback. Triggers on "address PR feedback", "handle review comments", "fix PR comments", "respond to PR review", "process reviewer feedback", or when given a PR number/URL with intent to address its comments.

日本語の概要は準備中です。原文の説明を表示しています。

woocommerce/woocommerce-android3192026年10月10日 更新

woocommerce のスキルをすべて見る

このスキルの問題を報告する