技能 编程开发 Oracle到PostgreSQL集成测试规划

Oracle到PostgreSQL集成测试规划

v20260410
planning-oracle-to-postgres-migration-integration-testing
分析 .NET 项目中与数据库交互的仓储/DAO/服务层,识别需覆盖的 Oracle→PostgreSQL 数据访问路径,按风险排序并输出测试用例、种子数据和差异验证要点,辅助迁移集成测试准备。
获取技能
372 次下载
概览

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

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.
信息
Category 编程开发
Name planning-oracle-to-postgres-migration-integration-testing
版本 v20260410
大小 2.15KB
更新时间 2026-04-12
语言