Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Backend & APIs
github avatar

Creating Oracle To Postgres Migration Integration Tests

github/awesome-copilotOfficial

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.

installs
1.8K
GitHub stars
40.5K
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add github/awesome-copilot --skill creating-oracle-to-postgres-migration-integration-tests --agent claude-code

Installs 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

Scope to the target project only. List data access methods that interact with the database — repositories, DAOs, stored procedure callers, query builders.

Step 3: Create seed data

  • Follow seed file location and naming conventions from the existing project.
  • Avoid TRUNCATE TABLE — keep existing database data intact.
  • Assume existing business rows and lookup rows are already present; add only minimal, collision-safe seed records needed for the scenario.
  • Do not commit seed data; tests run in transactions that roll back.
  • Ensure seed data does not conflict with other tests.
  • Load and verify seed data before assertions depend on it.
  • Create or reuse a test LookupConstants class for stable lookup IDs/codes used across seed builders and assertions.

Step 4: Write test cases

  • Inherit from the base test class to get automatic transaction create/rollback.
  • Ensure each database-touching method in scope has at least one integration test (or multiple tests for higher-risk behavior branches).
  • Assert logical outputs (rows, columns, counts, error types), not platform-specific messages.
  • Assert specific expected values — never assert that a value is merely non-null or non-empty when a concrete value is available from seed data.
  • Avoid testing code paths that do not exist or asserting behavior that cannot occur.
  • Avoid redundant assertions across tests targeting the same method.
  • For text parameters, include both empty-string and NULL/missing input coverage where applicable.
  • For datetime behavior, include assertions that validate the value written and read back matches — use the Oracle column's precision (e.g., seconds-only for a date/time column with no fractional seconds) rather than assuming any particular database type syntax.

Step 5: Review determinism

Re-examine every assertion against non-null values. Confirm each is deterministic against the seeded data. Fix any assertion that depends on database state outside the test's control.

Key Constraints

  • Phase 3 only — these tests target Oracle. Do not invoke this skill during Phase 6 or against a PostgreSQL-targeting project.
  • Oracle is the golden source — tests capture Oracle's expected behavior.
  • Assertion portability — avoid platform-specific error messages or syntax in assertions so that when the test project is migrated to PostgreSQL in Phase 6, assertions require no changes.
  • Seed only against Oracle — the test project will be migrated to PostgreSQL in Phase 6; seed data and infrastructure stay Oracle-targeted until then.
  • Scoped to one project — do not create tests for artifacts outside the target project.
  • Preserve existing data — never rewrite or wipe pre-existing business or lookup rows.
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

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
  • Gtm Product Led Growth1.8K
  • Unit Test Vue Pinia1.8K
  • Creating Oracle To Postgres Master Migration Plan1.8K
  • Creating Oracle To Postgres Migration Bug Report1.8K
  • Planning Oracle To Postgres Migration Integration Testing1.8K
  • Oo Component Documentation1.8K
  • Scaffolding Oracle To Postgres Migration Test Project1.7K
  • Gtm 0 To 1 Launch1.7K
  • Sandbox Npm Install1.7K
  • Semantic Kernel1.7K
  • Gtm Technical Product Pricing1.7K
  • Gdpr Compliant1.7K
  • Aws Cdk Python Setup1.6K
  • Gtm Ai Gtm1.6K
  • Gtm Board And Investor Communication1.6K
  • Dotnet Timezone1.6K
  • Gtm Partnership Architecture1.6K
  • Gtm Enterprise Account Planning1.6K
  • Quality Playbook1.6K
  • Gtm Enterprise Onboarding1.6K
  • Gtm Operating Cadence1.5K
  • Gtm Developer Ecosystem1.5K
  • Ruff Recursive Fix1.5K
  • Agent Owasp Compliance1.5K

Recommended

More Backend & APIs
1charlie947 avatarreels-scriptingcharlie947/social-media-skillsTurn a reference Instagram Reel into a script for your own Reel, tuned to your voice and repurposed from your newsletter content. Takes a Reel URL or Notion ref1.8Kinstalls
2k-dense-ai avatarxlsxk-dense-ai/scientific-agent-skillsCreate, edit, analyze, or convert Excel spreadsheets (.xlsx, .xlsm, .xltx) where the workbook file is the primary deliverable. Use for formulas, formatting, fin1.8Kinstalls
3github avatarplanning-oracle-to-postgres-migration-integration-testinggithub/awesome-copilotCreates an integration testing plan for .NET data access artifacts during Oracle-to-PostgreSQL database migrations. Analyzes a single project to identify reposi1.8Kinstalls
4arize-ai avatarphoenix-cliarize-ai/phoenixDebug LLM applications using the Phoenix CLI. Fetch traces, analyze errors, structure trace review with open coding and axial coding, inspect datasets, review e1.8Kinstalls
5github avatarscaffolding-oracle-to-postgres-migration-test-projectgithub/awesome-copilotScaffolds an xUnit integration test project for validating Oracle-to-PostgreSQL database migration behavior in .NET solutions. Creates the test project, transac1.7Kinstalls
6databricks avatardatabricks-coredatabricks/databricks-agent-skillsDatabricks CLI operations and the parent/entry-point skill for Databricks CLI use: authentication, profile selection, and bundles. Load this first for CLI, auth1.7Kinstalls