بنقرة واحدة
test-implementation
Implement provided test blueprints following the project guidelines.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Implement provided test blueprints following the project guidelines.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Rules for structuring and connecting Decompose components - regular components, routers, Outputs, factories, navigation, and embedded children
Create compact, reviewable high-level designs for test suites before implementation or structural review.
Compose Multiplatform UI patterns for this project - Scaffold screens, AppToolbar, decomposition, CustomTheme, LCE widgets, insets, system bars, messages, core widgets, and previews.
Guidelines for organizing feature module structure using package-by-feature principle
Guidelines for API/DTO boundaries, repository-owned Replica data loading, loaded data observation in components, LCE state, data mutations, cache invalidation, ReplicaAction, ReplicaTag
Compact guide for using the project StringDesc wrapper over Compose Resources
| name | test-implementation |
| description | Implement provided test blueprints following the project guidelines. |
Use this skill to turn a provided test blueprint into executable Kotlin tests. Treat the blueprint as the contract for suite name, test type, test names, step order, comments, and step type icons.
<SUT>Test (component) maps to a FunSpec class with componentTest("...") tests.<SUT>Test (unit) maps to a FunSpec class with test("...") or withTests(...).componentTest("..."), test("..."), or table case naming.[table] maps to Kotest withTests(...) with cases from the blueprint.features/src/commonTest/kotlin.fixtures package.features/src/commonTest/resources/.FunSpec plus test(...).withTests(...) for table cases.shouldThrow for exception scenarios.componentTest(...) executes with ComponentTestScope as the receiver.ComponentTestScope definition when a test needs capabilities beyond nearby examples.collectFlow(flow, values) for hot command/event Flow exposed by components.setupComponent { ... } so startup events are not missed.runCurrent() after an action to deliver emitted events to the collector before asserting.FunSpec plus componentTest(...).MockServer.setupComponent { createXxxComponent(...) }.FunSpec plus componentTest(...).setupComponent { createXxxComponent(...) }.childStack.activeChild.runCurrent() after a synchronous action when the test needs to deliver already emitted commands/events to collectors.advanceUntilIdle() for data loading and other async work.advanceTimeBy(...) only when duration matters.MockServer.enqueueXxx(...) extension helpers beside fixtures.RequestMatcher.containsPath(...), HttpResponse(...), and readTestResource(...).curl request.shouldBe, shouldNotBeNull, and shouldBeInstanceOf.OutputCapturer<T> for component outputs.dialogControl.activeChild for dialog assertions instead of reading dialogSlot.value.child?.instance directly.pokemons tests.RealXxxComponent directly../gradlew :features:testAndroidHostTestLoad the closest reference when implementing a similar test: