This version is still in development and is not considered stable yet.
For the latest stable version, please use JUnit 6.0.1!

Class Templates

A @ClassTemplate is not a regular test class but rather a template for the contained test cases. As such, it is designed to be invoked multiple times depending on invocation contexts returned by the registered providers. Thus, it must be used in conjunction with a registered ClassTemplateInvocationContextProvider extension. Each invocation of a class template behaves like the execution of a regular test class with full support for the same lifecycle callbacks and extensions. Please refer to Providing Invocation Contexts for Class Templates for usage examples.

Parameterized Classes are a built-in specialization of class templates.