I wrote a series of posts that introduce you to JUnit 5 and I recommend you read them in following order:
JUnit 5 Setup in IntelliJ, Eclipse, Maven, and Gradle#postHow to set up JUnit 5 so tests run in IntelliJ, Eclipse, Maven, Gradle or, if all else fails, via JUnit 4 or on the command line.
JUnit 5 Basics:The Basics of JUnit 5: How to use
@Test, Lifecycle, Assertions, Assumptions, And More#post
@AfterAll, assertions, and assumptions. How to disable, name, and tag tests.
JUnit 5 Conditions:A detailed look at JUnit 5's
@DisabledOnJre, etc. and how to create custom conditions to flexibly disable test methods.
Then there are a few more posts on the topic that can be read in pretty much any order:
To Jupiter And Beyond - On An Exploratory Mission With JUnit Pioneer#talkJUnit Pioneer gathers JUnit 5 extensions. This talk discusses the technical aspects, but also the mission, dev practices, automatic releases, and what Twitch has to do with all of this.
JUnit Pioneer 1.0#postYesterday we released JUnit Pioneer 1.0 🥳 - here's a quick rundown of its features
JUnit 5 Architecture or "What's Jupiter?"#postThe JUnit 5 architecture promotes a better separation of concerns than JUnit 4 did. It also provides clear APIs for testers (Jupiter) and tools (Platform).
JUnit 5 - Dynamic Tests#postWith JUnit 5's dynamic tests, we can create tests at run time, for example to parameterize tests, create hierarchical test plans, or define tests with lambdas.
JUnit 5 Extension Model: How To Create Your Own Extensions#postThe JUnit 5 extension model enables detailed, flexible, and powerful additions to JUnit 5's core features. For that it provides specific extension points.
Parameterized Tests in JUnit 5#videoAt JavaLand 2017, I spent 15 minutes exploring JUnit 5's (then) brand-new parameterized test feature in a NightHacking session
Rewrite, Architecture, Extensions Of JUnit 5#videoWhat were the reasons for the rewrite? How does JUnit 5 compare to JUnit 4? What's so special about the architecture and the extension points?
JUnit 5#talkIn this talk, I introduce JUnit 5 from basic tests to more advanced features like nesting, parameterization, parallelization, and extensions. We also discuss its architecture and compatibility with JUnit 4.