Add an explanation about why this test is skipped as value of @Disabled

This commit is contained in:
Alex Golub 2022-04-21 11:33:22 +03:00
parent 9df069c862
commit f56a57f901
1 changed files with 1 additions and 2 deletions

View File

@ -85,9 +85,8 @@ class Junit5AssertionsUnitTest {
} }
@Test @Test
@Disabled @Disabled("Test not completed")
void whenFailingATest_thenFailed() { void whenFailingATest_thenFailed() {
// Test not completed
fail("FAIL - test not completed"); fail("FAIL - test not completed");
} }