Skillpedia
الاختبار40k · #7325

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

ما الذي تفعله

ينشئ هذا الوكيل خطة لاختبار طريقة الوصول إلى البيانات ومعالجتها في مشروع برمجي. يركز على ضمان انتقال سلس من قاعدة بيانات Oracle إلى PostgreSQL، عبر تحديد ما يجب اختباره.

متى تستخدمها

  • ✓عند التخطيط لاختبارات مشروع ينتقل من Oracle إلى PostgreSQL.
  • ✓عندما تحتاج إلى معرفة أجزاء الكود التي تصل إلى قاعدة البيانات وتحتاج إلى اختبار.
  • ✓لتحضير وثائق الاختبار قبل نقل قاعدة البيانات.

رابط المهارة

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

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/github/awesome-copilot/blob/main/skills/planning-oracle-to-postgres-migration-integration-testing/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أحتاج إلى خطة اختبار للنقل من Oracle إلى PostgreSQL لمشروع «MyApp.Core».”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يحلل الوكيل مشروعك ليجد الأجزاء التي تتواصل مع قاعدة البيانات. ثم ينشئ وثيقة مفصلة تتضمن الاختبارات الموصى بها، مع إعطاء الأولوية للأجزاء الأكثر تعقيداً أو التي تستخدم ميزات خاصة بـ Oracle.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

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.
الأسئلة الشائعة

ما هي «قطع الوصول إلى البيانات» (data access artifacts)؟

هي أجزاء الكود (مثل المستودعات أو كائنات DAO أو طبقات الخدمات) التي تقرأ المعلومات من قاعدة البيانات أو تكتب فيها.

لماذا تُعطى الأولوية للميزات الخاصة بـ Oracle؟

لأن هذه الميزات قد تتصرف بشكل مختلف في PostgreSQL، ومن المهم اختبارها بعناية لضمان نجاح النقل.

هل سيكتب الوكيل الاختبارات بدلاً مني؟

لا، الوكيل ينشئ خطة اختبار فقط. ستحتاج أنت أو فريقك إلى كتابة الاختبارات وتشغيلها وفق هذه الخطة.

التفاصيل

الوصف الأصلي من المؤلف

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

الشعبية

نجوم GitHub
40k
الترتيب
#7325
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة