
Creating Oracle To Postgres Migration Integration Tests
This walks you through creating xUnit integration tests for .NET data access code during an Oracle to Postgres migration. It generates tests that run against both databases to prove behavioral consistency, using deterministic seed data and database-agnostic assertions. The workflow is prescriptive: discover your test project conventions, identify repositories and DAOs to test, create seed files, write test cases that inherit from your base class for automatic transaction rollback, then review every assertion for determinism. Oracle is treated as the source of truth. The main value is keeping test logic portable so the same tests validate both pre-migration Oracle behavior and post-migration Postgres behavior without rewriting assertions around platform-specific error messages or syntax quirks.
- skills.sh installs
- 1.8K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill creating-oracle-to-postgres-migration-integration-tests --agent claude-codeInstalls into .claude/skills of the current project.
Files
Creating Integration Tests for Oracle-to-PostgreSQL Migration
Generates integration test cases for data access artifacts in a single target project. Tests target Oracle and capture its behavior as the authoritative baseline. They are written to be logically portable — so they can survive Phase 6 migration without rewriting — but they do not run against PostgreSQL at this stage.
Prerequisites
- The test project must already exist and compile (scaffolded separately).
- Read the existing base test class and seed manager conventions before writing tests.
Workflow
Test Creation:
- [ ] Step 1: Discover the test project conventions
- [ ] Step 2: Identify testable data access artifacts
- [ ] Step 3: Create seed data
- [ ] Step 4: Write test cases
- [ ] Step 5: Review determinism
Step 1: Discover the test project conventions
Read the base test class, seed manager, and project file to understand inheritance patterns, transaction management, and seed file conventions.
Step 2: Identify testable data access artifacts
Sponsors
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Backend & APIs, Testing & QA, Git & Pull Requests, Documentation, AI & Agent Building, Databases, .NET & C#
- First seen
- Apr 16, 2026
More from github/awesome-copilot
All 318- Unit Test Vue Pinia1.8K
- Creating Oracle To Postgres Master Migration Plan1.8K
- Creating Oracle To Postgres Migration Bug Report1.8K
- Oo Component Documentation1.8K
- Planning Oracle To Postgres Migration Integration Testing1.8K
- Scaffolding Oracle To Postgres Migration Test Project1.7K
- Gtm 0 To 1 Launch1.7K
- Gdpr Compliant1.7K
- Sandbox Npm Install1.7K
- Semantic Kernel1.7K
- Gtm Technical Product Pricing1.7K
- Aws Cdk Python Setup1.7K
- Gtm Ai Gtm1.6K
- Dotnet Timezone1.6K
- Gtm Board And Investor Communication1.6K
- Quality Playbook1.6K
- Gtm Partnership Architecture1.6K
- Gtm Enterprise Account Planning1.6K
- Gtm Enterprise Onboarding1.6K
- Gtm Operating Cadence1.6K
- Gtm Developer Ecosystem1.5K
- Agent Owasp Compliance1.5K
- Ruff Recursive Fix1.5K
- Threat Model Analyst1.5K