github avatar

Scaffolding Oracle To Postgres Migration Test Project

This scaffolds the test infrastructure you need before writing integration tests for an Oracle to Postgres migration in .NET. It creates an xUnit project with transaction rollback on every test so you're never polluting your database, plus a seed data manager that loads test data inside those transactions. The workflow inspects your target project to match .NET versions exactly, sets up Oracle connectivity first (since Oracle is the source of truth for expected behavior), and verifies everything compiles before you start writing actual tests. It's focused on setting up the plumbing once so your test cases stay clean. If you're migrating databases and need repeatable tests that don't leave artifacts behind, this handles the boring setup work.

skills.sh installs
1.7K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill scaffolding-oracle-to-postgres-migration-test-project --agent claude-code

Installs into .claude/skills of the current project.

Files

Scaffolding an Integration Test Project for Oracle-to-PostgreSQL Migration

Creates a compilable, empty xUnit test project with transaction management and seed data infrastructure for a single target project. Run once per project before writing tests.

Workflow

Progress:
- [ ] Step 1: Inspect the target project
- [ ] Step 2: Create the xUnit test project
- [ ] Step 3: Implement transaction-rollback base class
- [ ] Step 4: Implement seed data manager
- [ ] Step 5: Verify the project compiles

Step 1: Inspect the target project

Read the target project's .csproj to determine the .NET version and existing package references. Match these versions exactly — do not upgrade.

Step 2: Create the xUnit test project

  • Target the same .NET version as the application under test.
  • Add NuGet packages for Oracle database connectivity (Oracle.ManagedDataAccess.Core) and xUnit.
  • Add a project reference to the target project only — no other application projects.
  • Add an appsettings.json configured for Oracle database connectivity.

Step 3: Implement transaction-rollback base class

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Backend & APIs, Testing & QA, Git & Pull Requests, Documentation, AI & Agent Building, Cloud & Infrastructure, Databases, .NET & C#
First seen
Apr 16, 2026

More from github/awesome-copilot

All 318
1sergiodxa avatarowasp-security-checksergiodxa/agent-skillsSecurity audit guidelines for web applications and REST APIs based on OWASP Top 10 and web security best practices. Use when checking code for vulnerabilities, 1.7Kskills.sh installs
2jezweb avatarwordpress-contentjezweb/claude-skillsCreate and manage WordPress posts, pages, media, categories, tags, and menus via WP-CLI or the REST API. Use whenever the user wants to publish a blog post on W1.7Kskills.sh installs
3nodeops-app avatarcreateosnodeops-app/skillsDeploy ANYTHING to production on CreateOS cloud platform. Use this skill when deploying, hosting, or shipping: (1) AI agents and multi-agent systems, (2) Backen1.7Kskills.sh installs
4machina-sports avatarbettingmachina-sports/sports-skillsBetting analysis — odds conversion, de-vigging, edge detection, Kelly criterion, arbitrage detection, parlay analysis, and line movement. Pure computation, no A1.6Kskills.sh installs
5nexscope-ai avatarproduct-description-generatornexscope-ai/ecommerce-skillsE-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor resear1.6Kskills.sh installs
6nvidia avatartao-run-inference-servicenvidia/skillsStart, query, and stop a network-specific TAO inference microservice ({network_arch}-inference-microservice) by delegating container execution to the appropriat1.6Kskills.sh installs