JUnit 5 Launcher API: Programmatic Test Discovery and Execution
Learn how to programmatically discover, filter, and execute Java tests using the JUnit 5 Launcher API to build custom test runners and reporting tools.
💬مدرب ذكاء اصطناعي اسأل عن أي درس واحصل على إجابة واضحة فورًا، في أي وقت.
🕐ابدأ في أي وقت بلا جداول أو مواعيد نهائية — تعلّم بوتيرتك، وقتما يناسبك.
🌐بالعربية الدروس والمهام والشهادة — كل ذلك بلغتك بالكامل.
حول هذه الدورة
Standard test runners in IDEs and build tools are powerful, but sometimes you need fine-grained, programmatic control over how your Java tests are discovered and executed. Whether you are building custom testing tools, integrating tests into specialized workflows, or generating bespoke reports, the JUnit 5 Launcher API provides the exact programmatic entry point you need. This course guides you through the process of harnessing the Launcher API to dynamically discover, filter, and run tests, transitioning you from relying solely on standard plugins to programmatically controlling your entire test execution lifecycle.
What you'll learn:
- Understand the core architecture of the JUnit Platform and the role of the Launcher API.
- Configure discovery requests using selectors and filters to target specific test classes, packages, or tags.
- Instantiate and manage launchers programmatically using the LauncherFactory.
- Implement custom execution listeners to capture real-time test results and generate custom reports.
- Apply modern Java features to stream and filter test discovery results dynamically.
- Integrate programmatic test execution with standard Java build configurations.
You will start with the fundamental concepts of the JUnit Platform architecture before moving step-by-step through configuring discovery requests, executing tests, and handling execution events. Through clear written explanations and practical code examples, you will learn to build a fully functional custom test runner. This course is designed for Java developers and QA engineers who want to extend their testing capabilities. No prior experience with the Launcher API is required, though a basic understanding of Java and standard JUnit 5 testing is recommended. Start reading to unlock the full programmatic power of JUnit 5.
محتوى الدورة
ما الذي ستحصل عليه
📜شهادة إتمام أضفها إلى ملفك على LinkedIn
💬مدرّس AI شخصي عالق في دورة؟ اسأل مدرّسك المدمج أي شيء، في أي وقت.
🎧النسخة الصوتية مضمَّنة تعلَّم أثناء تنقُّلك — دون شاشة
♾️وصول مدى الحياة عُد متى شئت، بلا انتهاء
📱الهاتف أو الكمبيوتر يعمل في أي مكان وعلى أي جهاز
💸استرداد خلال 14 يومًا دون أسئلة
⚡قصير ومركَّز 2 ساعة 30 دقيقة من المحتوى التطبيقي
شهادة إتمام
كل دورة تكملها على PickAClass تُصدر شهادة كهذه — أصلية، بكودها الخاص، قابلة للتحقّق عبر الرابط، ومفصّلة عمّا أُثبت فعلًا.
P
PickAClass
ملف المهارات · قابل للتحقّق
وثيقة
شهادة إتقان
تشهد هذه الوثيقة بأن
الاسم واللقب
أثبت بنجاح إتقان
JUnit 5 Launcher API: Programmatic Test Discovery and Execution
المهارات المُثبَتة
✓
تحليل أنماط السلوك
تأسيسي
1.2 ساعة
✓
أطر معمارية لاتخاذ القرارات
متمكّن
1.4 ساعة
✓
تصميم اختبار A/B
متمكّن
1.7 ساعة
✓
كتابة نصوص سلوكية
متقدّم
1.9 ساعة
P
PickAClass — الاسم واللقب
JUnit 5 Launcher API: Programmatic Test Discovery and Execution