setup-test-integration

Automates setup of Kotlin Spring Boot integration tests with Oracle Testcontainers and Flyway.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/diegolirio/ai-showcase-skills --skill setup-test-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: setup-test-integration
Source: https://github.com/diegolirio/ai-showcase-skills/tree/main/skills/setup-test-integration
Command: npx skills add https://github.com/diegolirio/ai-showcase-skills --skill setup-test-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Set up a reusable integration-test foundation for Kotlin + Spring Boot projects using Oracle Testcontainers and Flyway migrations in the core module, with runtime Flyway disabled in application properties and Makefile test targets.

Core Features & Use Cases

  • Provides a BaseIntegrationTest for controller/repository tests in the api module.
  • Creates Test{ApplicationName}Application for test context and an example integration smoke test.
  • Enables a pipeline-friendly Flyway workflow with core migrations and explicit test execution targets.

Quick Start

Run the setup-test-integration skill in your Kotlin + Spring Boot project to bootstrap the integration test foundation.

Frequently Asked Questions about setup-test-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up integration tests in a Kotlin Spring Boot project with Testcontainers and Flyway?

The skill automates integration test setup for Kotlin Spring Boot projects by configuring Oracle Testcontainers and Flyway migrations, generating a BaseIntegrationTest class, a test application context, and pipeline-ready Flyway targets.

What is a reusable integration test foundation for Spring Boot?

A reusable integration test foundation provides a BaseIntegrationTest class for controller and repository tests, a dedicated test application context, and pipeline-friendly Flyway workflows with runtime safety disabled in application properties.

Does this integration test setup work with existing Kotlin Spring Boot projects?

Yes, the integration test setup applies to both new and existing Kotlin Spring Boot projects, requiring the addition of a core migration folder, Flyway configuration, Makefile targets, and optional sample controller tests to function correctly.

How do I run Flyway migrations safely during Spring Boot integration tests?

To run Flyway migrations safely during tests, the skill disables runtime Flyway in application properties and provides pipeline-ready Makefile test targets, ensuring migrations execute explicitly within the Oracle Testcontainers core module context.

What's the best way to automate Oracle Testcontainers integration in a Spring Boot Makefile?

The best way to automate Oracle Testcontainers integration is using the skill's generated Makefile targets, which explicitly execute test workflows alongside Flyway core migrations and disable runtime application properties for pipeline safety.