fitSharp
Abandon Suite
We can throw an exception AbandonTestSuiteException anywhere in fixture or Domain Adapter code to stop execution of the entire test suite. The exception can be constructed with a custom message which will appear in the test result.
 throw new AbandonTestSuiteException();
 throw new AbandonTestSuiteException("my message");
Folder Runner stops reading input files when the suite is abandoned.

The following sets up two tests. The first one throws AbandonTestSuiteException so the second is not run.
test@

make new folder
withnewfile system
make empty foldertest
test
make new folder
withnewfile system
make empty foldertest\input
test\input

with new file
withnewfile system
returnmake empty filetest\input\abandon.txt
test\input\abandon.txt
write line test@ sampledomainadapter
write line throwabandonsuite

with new file
withnewfile system
returnmake empty filetest\input\another.txt
test\input\another.txt
write line test@ garbage

with execute folder runner
withnew file
withnewfile system
returnmake empty filetest\input\suiteconfig.xml
test\input\suiteconfig.xml
write line<suiteConfig>
write line<Settings>
write line<runner>fit.Runner.FolderRunner</runner>
write line with path<inputFolder>test\input</inputFolder>
write line with path<outputFolder>test\output</outputFolder>
write line</Settings>
write line<applicationUnderTest>
write line<addNamespace>fit.Test.Double</addNamespace>
write line</applicationUnderTest>
write line</suiteConfig>

make new folder
withnewfile system
make empty foldertest\output
test\output

withnewfolder runner story
run-c,test\input\suiteconfig.xml
returncurrent
check results 0 right, 0 wrong, 0 ignored, 1 exceptions

@test

FitServer throws an exception when the suite is abandoned to make FitNesse stop sending tests.

The following runs a suite with two tests. The first one throws AbandonTestSuiteException so the second is not run.
test@

configure processor add operator compareregex

fitnesse server
add page test@,fit.Test.Double.SampleDomainAdapter,throwabandonsuite
add page test@,garbage
run
check results /.*SampleDomainAdapter.* \(Test completed\) \(Suite abandoned\)/ test@
fit.Test.Double.SampleDomainAdapter
throwabandonsuite
fitSharp.Fit.Exception.AbandonSuiteException: Suite abandoned. at fit.Test.Double.SampleDomainAdapter.ThrowAbandonSuite() in /home/mikes/code/fitsharp/source/fitTest/Double/SampleDomainAdapter.cs:line 29
(Test completed) (Suite abandoned)

@test
Copyright © 2022 Syterra Software Inc. All rights reserved.