Use for Kotest integration tests with real adapters: repository/adapter tests, PostgresTestFixture, Flyway/Exposed, TransactionRunner, or /integration-tests. Use /unit-tests for pure logic. Use /e2e-tests for app boot.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use for Kotest integration tests with real adapters: repository/adapter tests, PostgresTestFixture, Flyway/Exposed, TransactionRunner, or /integration-tests. Use /unit-tests for pure logic. Use /e2e-tests for app boot.
Integration Tests
Rules
Test behavior through public repository, adapter, or application-service interfaces.
Use real adapters only where fakes would hide the contract.
Keep the boundary narrow. Avoid full application boot.
Use Kotest FunSpec.
Use existing fixtures like PostgresTestFixture, Flyway, Exposed, and TransactionRunner.
Keep fixture state deterministic: migrate before the spec, reset between tests, close after the spec.
Do not mark tests as E2E unless they boot the whole application.
Checklist
Choose the seam to prove.
Select the smallest real boundary.
Set up deterministic fixture lifecycle.
Write a focused FunSpec test.
Run the targeted test with ./gradlew test --tests.