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.
-
๐ฌ
AI instructor
Ask about any lesson and get a clear answer instantly, anytime. -
๐
Start anytime
No schedules or deadlines โ learn at your own pace, whenever suits you. -
๐
In English
Lessons, tasks and certificate โ all fully in your language.
About this course
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.
What you'll get
-
๐
Certificate of completion
Add it to your LinkedIn profile -
๐ฌ
Personal AI tutor
Stuck on a lesson? Ask your built-in tutor anything, any time. -
๐ง
Audio version included
Learn on the go โ no screen needed -
โพ๏ธ
Lifetime access
Come back anytime, no expiry -
๐ฑ
Phone or computer
Works anywhere, any device -
๐ธ
14-day refund
No questions asked -
โก
Short & focused
2h 30m of practical content
Reviews
No reviews yet โ be the first to share your experience.
Frequently asked
What do I need to take this course? +
Just a phone or computer with internet. No installs, no special hardware.
How do I pay? +
By card via Stripe. We donโt store card details โ Stripe handles them securely.
Can I get a refund? +
Yes โ full refund within 14 days, no questions asked.
How long will I have access? +
Forever. Once you purchase, the course is yours to revisit anytime.
Will I get a certificate? +
Yes. On completion you'll receive a certificate you can add to your LinkedIn profile.
Built for learners in
Tech
Design
Finance
Marketing
Healthcare
Education
Hospitality
Manufacturing