Testing GenServer Periodic Actions with the Black Box Model
Learn to test Elixir periodic processes reliably using black-box techniques and Mox manual mode without compromising your application architecture.
-
💬
مدرب ذكاء اصطناعي
اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت. -
🕐
ابدأ في أي وقت
بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك. -
🌐
بالعربية
الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Testing time-dependent code and periodic background tasks in Elixir can easily lead to flaky tests or fragile test suites that leak implementation details. By adopting a black-box testing approach, you can verify that your GenServers behave correctly over time without exposing their internal states. This text-only course guides you through the principles of black-box testing for periodic actions. You will learn how to isolate side effects, control time-based execution safely, and write robust concurrent tests. What you'll learn: Understand the core principles of black-box testing for Elixir state machines and processes; Configure Mox in manual mode to control external dependencies during test execution; Design GenServer periodic actions that are easy to trigger and assert against; Avoid common pitfalls of testing concurrent, time-sensitive code in ExUnit; Apply modern Elixir testing patterns to keep your test suite fast and reliable. The course begins with foundational definitions of black-box testing and GenServer mechanics, moving step-by-step through setting up mocks with Mox, and concluding with practical, real-world test scenarios. This course is designed for Elixir developers who want to improve their testing strategies. A basic understanding of Elixir syntax and GenServers is recommended, but no advanced testing experience is required. Start writing cleaner, more resilient Elixir tests today.
ما الذي ستحصل عليه
-
📜
شهادة إتمام
أضفها إلى ملفك على LinkedIn -
💬
مدرّس AI شخصي
عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت. -
🎧
النسخة الصوتية مضمَّنة
تعلَّم أثناء تنقُّلك — دون شاشة -
♾️
وصول مدى الحياة
عُد متى شئت، بلا انتهاء -
📱
الهاتف أو الكمبيوتر
يعمل في أي مكان وعلى أي جهاز -
💸
استرداد خلال 14 يومًا
دون أسئلة -
⚡
قصير ومركَّز
2 ساعة 30 دقيقة من المحتوى التطبيقي
المراجعات
لا توجد مراجعات بعد — كن أول من يشارك تجربته.
المتعلمون أخذوا أيضًا
💼 جاهز لسوق العمل
🎓 بشهادة
اختبارات آلية للغة بايثون باستخدام Pytest
شهادة
تطبيق عملي
DA 6,500
→
🏆 الأكثر شعبية
🎓 بشهادة
أتمتة الاختبار لتطبيقات Angular باستخدام Protractor و TypeScript و Cucumber
شهادة
تطبيق عملي
DA 6,500
→
💼 جاهز لسوق العمل
🎓 بشهادة
الاختبار الآلي في C# .NET: Selenium، وxUnit، وDocker
شهادة
تطبيق عملي
DA 6,500
→
⚡ الأفضل للبداية
🎓 بشهادة
أساسيات TDD في Ruby: بناء تطبيقات نظيفة باستخدام RSpec
شهادة
تطبيق عملي
DA 6,500
→
الأسئلة الشائعة
ما الذي أحتاجه لأخذ هذه الدورة؟ +
يكفي هاتف أو كمبيوتر متصل بالإنترنت. بدون تثبيتات أو أجهزة خاصة.
كيف يمكنني الدفع؟ +
بالبطاقة عبر Stripe. لا نخزن بيانات البطاقة — يتولى Stripe ذلك بأمان.
هل يمكنني استرداد المال؟ +
نعم — استرداد كامل خلال 14 يومًا، دون أسئلة.
إلى متى يستمر وصولي؟ +
إلى الأبد. بمجرد الشراء، الدورة لك تعود إليها متى شئت.
هل سأحصل على شهادة؟ +
نعم. عند الإتمام ستحصل على شهادة يمكنك إضافتها إلى ملفك في LinkedIn.
مصمَّم للعاملين في
التقنية
التصميم
المالية
التسويق
الرعاية الصحية
التعليم
الضيافة
التصنيع
×2
اشحن مرة واحدة وادفع النصف
أضف DA 13,000 واحصل على 200 رصيد، بحيث تكلف كل دورة حوالي DA 1,625.00. لا تنتهي صلاحية الأرصدة أبداً.
DA 13,000
200 رصيد
DA 1,625.00 / دورة
أفضل قيمة
DA 33,000
550 رصيد
DA 1,500.00 / دورة
DA 65,000
1200 رصيد
DA 1,354.17 / دورة
الرصيد يصلح لأي دورة ولا ينتهي.