From f56a57f901eae599abada8e53f0998a921963570 Mon Sep 17 00:00:00 2001 From: Alex Golub Date: Thu, 21 Apr 2022 11:33:22 +0300 Subject: [PATCH] Add an explanation about why this test is skipped as value of @Disabled --- .../junit5vsjunit4assertions/Junit5AssertionsUnitTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java index 1b1b6510fb..bd64504b65 100644 --- a/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java +++ b/testing-modules/junit5-migration/src/test/java/com/baeldung/junit5vsjunit4assertions/Junit5AssertionsUnitTest.java @@ -85,9 +85,8 @@ class Junit5AssertionsUnitTest { } @Test - @Disabled + @Disabled("Test not completed") void whenFailingATest_thenFailed() { - // Test not completed fail("FAIL - test not completed"); }