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.