Skip to content

Glossary: Java Beyond the Basics

@Test

Also written: Test

The JUnit annotation marking a method (no parameters, no return value) as a test to run.

Where the book teaches it

Related terms

JUnitUnit test@BeforeEach