In this lesson, we'll write our first test with JUnit Jupiter! First, we'll demonstrate how to mark a test through the
@Test annotation. Next, we fill out the body of this test with some logic, based on the application code at hand. Finally, we execute this test and look at its presented outcome.
@Testto annotate a test case
- Make an informed decision about the import package in codebases that include both JUnit 4 & 5
- Define the body of a test method using application code
- Execute a test through the IDE