In This post, we will talk and learn about JUnit 5 Architecture
JUnit 5 is mainly built on below three Components or sub-projects:
1. JUnit Platform
2. JUnit Jupiter
3. JUnit Vintage
Unlike previous versions of JUnit 4 0r 3, JUnit 5 is combinations of several different modules from three different sub-projects.
JUnit 5 = JUnit Platform + JUnit Jupiter + JUnit Vintage
To execute or lunch JUnit Test cases builds tools, IDEs and plugins required to include and extend platform APIs.it provides TestEngine APIs to develop new testing frameworks that run on the platform.
Additionally, it also provides console Launcher to launch the platform from the command line and build plugins for building tool like Gradle and Maven.
It is the combination of the new programming model and extension model for writing tests and extensions in JUnit 5. It has newly added annotations for running Jupiter based tests on the platform.
It has the main purpose to support running JUnit 3 and JUnit 4 written tests on the JUnit 5 platform. It provides assurance for backward compatibility.
You may also like:
JUnit 5 Annotations
That’s all about Junit 5 Architecture
You May Also Like:
What is JUnit?
JUnit 5 Annotations
JUnit 5 Maven Dependency
JUnit 5 with Gradle Dependency
JUnit 5 Test Lifecycle
JUnit 5 @BeforeAll annotation example
Unit 5 @AfterAll annotation example
JUnit 5 @BeforeEach and @AfterEach annotation Example
JUnit 5 Display Names
Assertions in JUnit 5 Examples
Third-party Assertion Libraries support in JUnit 5
JUnit 5 Assumptions Examples
JUnit 5 @Disabled Test Example
Conditional Test Execution in JUnit
Test Execution Order in Junit 5
JUnit 5 Nested Tests Example
Dependency Injection and Testing in JUnit 5
Test Interfaces and Default Methods in JUnit 5
JUnit 5 @RepeatedTest Annotation example
Junit 5 Parameterized Tests with examples
Argument Conversion in Parameterized Tests in Junit 5
Argument Aggregation in Parameterized Tests in Junit 5
Customizing Display Names of Parameterized Tests in JUnit 5
Dynamic Tests example in Junit 5
JUnit 5 Test Suites Examples
JUnit 5 Temporary Directory Support
How to execute Junit 5 tests in Eclipse IDE
JUnit 5 Test Templates for Eclipse
JUnit 5 vs JUnit 4
If you have any feedback or suggestion please feel free to drop in below comment box.