Sai Upadhyayula wrote this piece about Junit. Junit 5 is one of the popular testing frameworks in the Java Development World. Even though JUnit 5 is a successor for Junit 4, the architecture of the framework is completely different, so let’s have a look at the Architecture of Junit 5.
The tutorial explains the following:
- Junit 5 architecture
- Junit platform
- Junit Jupiter
- Junit Vintage
- Understanding test lifecycle
- Implementing lifecycle annotations in our test
- Assumptions
- Parameterized Tests
- ValueSource
- Running tests using Maven Surefire plugin
… and much more. There is a GitHub repository with the code so you can follow the steps in the article. Nice one!
[Read More]