اختبار الأنظمة الموزّعة
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
explain why end-to-end tests across many services do not scale.
الموضوعات المخطط لها
- End-to-end tests need every service, database, and broker running: slow to start, slow to run.
- They are brittle: one unrelated outage or data change fails the test, and the failure is hard to locate.
- Environments drift, so results are not repeatable; teams stop trusting them.
- Keep a few end-to-end smoke tests; push most checks lower: unit, integration with Testcontainers, and contract tests.
تفاصيل المخطط المبدئي
عرض عملي
a test pyramid for Shop with contract tests between integration and end-to-end.
اختبر فهمك
Name two reasons end-to-end tests are brittle.
أظهر الإجابة
Many moving parts and shared environments; any unrelated failure breaks them.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.