diff --git a/FitNesseRoot/FitNesse/ReleaseNotes/content.txt b/FitNesseRoot/FitNesse/ReleaseNotes/content.txt index 5493e4804..9555e399a 100644 --- a/FitNesseRoot/FitNesse/ReleaseNotes/content.txt +++ b/FitNesseRoot/FitNesse/ReleaseNotes/content.txt @@ -1,5 +1,6 @@ !2 Pending Changes * Fix SLF4J logging ([[1522][https://github.com/unclebob/fitnesse/pull/1522]]) + * Fix Ignore exception issue whereby it still executes every statement in the script table even though it will ignore the result !2 20240707 * Allow usage of JDK > 18 ([[1513][https://github.com/unclebob/fitnesse/pull/1513]]). diff --git a/src/fitnesse/slim/StatementExecutor.java b/src/fitnesse/slim/StatementExecutor.java index f9a4ab8b3..08279dc83 100644 --- a/src/fitnesse/slim/StatementExecutor.java +++ b/src/fitnesse/slim/StatementExecutor.java @@ -191,7 +191,7 @@ private void checkForPatternOfFixturesHandlingSymbols(String symbolName){ private void checkExceptionForStop(Throwable exception) { - if (isStopTestException(exception) || isStopSuiteException(exception)) { + if (isStopTestException(exception) || isStopSuiteException(exception) || isIgnoreAllTestsException(exception) || isIgnoreScriptTestException(exception)) { stopRequested = true; } }