Skip to content
Skillpedia
Testing40k · #7325

planning-oracle-to-postgres-migration-integration-testing

What it does

This agent creates a plan to test how data is accessed and handled in a software project. It focuses on ensuring a smooth transition from an Oracle to a PostgreSQL database by identifying what needs to be tested.

When to use it

  • ✓When planning tests for a project that is changing its database from Oracle to PostgreSQL.
  • ✓When you need to know which parts of your code that access the database require testing.
  • ✓To prepare testing documentation before migrating the database.

Skill link

https://github.com/github/awesome-copilot/blob/main/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“I need a migration testing plan from Oracle to PostgreSQL for the 'MyApp.Core' project.”

5 new skills a week. 1 minute to read.

How it works

The agent analyzes your project to find the parts that communicate with the database. It then creates a detailed document with recommended tests, prioritizing the most complex areas or those using Oracle-specific features.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Planning Integration Testing for Oracle-to-PostgreSQL Migration

Analyze a single target project to identify data access artifacts that require integration testing, then produce a structured, actionable testing plan.

Workflow

Progress:
- [ ] Step 1: Identify data access artifacts
- [ ] Step 2: Classify testing priorities
- [ ] Step 3: Write the testing plan

Step 1: Identify data access artifacts

Scope to the target project only. Find classes and methods that interact directly with the database — repositories, DAOs, stored procedure callers, service layers performing CRUD operations.

Step 2: Classify testing priorities

Rank artifacts by migration risk. Prioritize methods that use Oracle-specific features (refcursors, TO_CHAR, implicit type coercion, NO_DATA_FOUND) over simple CRUD.

Step 3: Write the testing plan

Write a markdown plan covering:

  • List of testable artifacts with method signatures
  • Recommended test cases per artifact
  • Seed data requirements
  • Known Oracle→PostgreSQL behavioral differences to validate
  • Coverage mapping that ensures every database touchpoint has at least one test case (or a justified set of cases for high-risk methods)

When defining recommended test cases, explicitly include:

  • Text parameter behavior for both empty string and NULL/missing values.
  • Datetime/timezone assertions, including round-trip and comparison behavior.
  • Cases where destination columns use timestamp without time zone or timestamp(0), with explicit timezone-application expectations.

Output

Write the plan to: .github/oracle-to-postgres-migration/Reports/{TARGET_PROJECT} Integration Testing Plan.md

Key Constraints

  • Single project scope — only plan tests for artifacts within the target project.
  • Database interactions only — skip business logic that does not touch the database.
  • Oracle is the golden source — tests should capture Oracle's expected behavior for comparison against PostgreSQL.
  • No multi-connection harnessing — migrated applications are copied and renamed (e.g., MyApp.Postgres), so each instance targets one database.
FAQ

What are 'data access artifacts'?

These are the parts of your code (like repositories, DAOs, or service layers) that read or write information to the database.

Why prioritize Oracle-specific features?

Because these features might behave differently in PostgreSQL, and it's important to test them carefully to ensure the migration works correctly.

Will the agent write the tests for me?

No, the agent creates a testing plan. You or your team will need to write and run the tests based on this plan.

Details

Original description by the author

Creates an integration testing plan for .NET data access artifacts during Oracle-to-PostgreSQL database migrations. Analyzes a single project to identify repositories, DAOs, and service layers that interact with the database, then produces a structured testing plan. Use when planning integration test coverage for a migrated project, identifying which data access methods need tests, or preparing fo

repo: github/awesome-copilot

Popularity

GitHub stars
40k
Ranking position
#7325
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills