Disabled Tests and Display Name Generator

What are disabled tests?

We can use the annotation org.junit.jupiter.api.Disabled to mark a test class or test method as disabled. Normal tests execute and the test case either passes or fails. A disabled test never executes.

Get hands-on with 1400+ tech skills courses.