Skip to content

Commit

Permalink
Fixed Ignore exception issue whereby it was still executing every sta…
Browse files Browse the repository at this point in the history
…tement in the script table even though it will ignore the result
  • Loading branch information
sunshineMcg committed Oct 26, 2024
1 parent 7bed6ad commit 974d98c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions FitNesseRoot/FitNesse/ReleaseNotes/content.txt
Original file line number Diff line number Diff line change
@@ -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]]).
Expand Down
2 changes: 1 addition & 1 deletion src/fitnesse/slim/StatementExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 974d98c

Please sign in to comment.