Chuyển đến nội dung
Skillpedia
Kiểm thử40k · #7325

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

Skill này làm gì

Agent này tạo kế hoạch kiểm thử cách dữ liệu được truy cập và xử lý trong một dự án phần mềm. Nó tập trung đảm bảo quá trình chuyển từ cơ sở dữ liệu Oracle sang PostgreSQL diễn ra suôn sẻ, bằng cách xác định những gì cần kiểm thử.

Khi nào nên dùng

  • ✓Khi bạn lên kế hoạch test cho một dự án đang chuyển cơ sở dữ liệu từ Oracle sang PostgreSQL.
  • ✓Khi bạn cần biết những phần mã nào truy cập cơ sở dữ liệu và cần được kiểm thử.
  • ✓Khi bạn muốn chuẩn bị tài liệu kiểm thử trước khi chuyển cơ sở dữ liệu.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi cần một kế hoạch kiểm thử migration từ Oracle sang PostgreSQL cho dự án 'MyApp.Core'.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent phân tích dự án để tìm các phần giao tiếp với cơ sở dữ liệu. Sau đó, nó tạo một tài liệu chi tiết với các test được khuyến nghị, ưu tiên những khu vực phức tạp nhất hoặc dùng các tính năng đặc thù của Oracle.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

“Data access artifacts” là gì?

Đó là các phần mã (như repository, DAO hoặc tầng dịch vụ) đọc hoặc ghi thông tin vào cơ sở dữ liệu.

Vì sao phải ưu tiên các tính năng đặc thù của Oracle?

Vì các tính năng này có thể hoạt động khác trong PostgreSQL, nên cần kiểm thử cẩn thận để đảm bảo việc chuyển đổi thành công.

Agent có tự viết test cho tôi không?

Không, agent chỉ tạo kế hoạch kiểm thử. Bạn hoặc nhóm của bạn sẽ cần viết và chạy test dựa trên kế hoạch này.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7325
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự