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.
Installation
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
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.