ARTICLE AD BOX
The following Java code in an integration test module correctly outputs integration/target/fitnesse/*.html with a "FrontPage.Test.IntegratioN.html" and the *.html of 35 individual tests.
import fitnesse.junit.FitNesseRunner import org.junit.runner.RunWith @RunWith(FitNesseRunner.class) @FitNesseRunner.Suite("FrontPage.Test.IntegratioN") @FitNesseRunner.FitnesseDir("../fitnesse") @FitNesseRunner.OutputDir("target/fitnesse") class Fitnesse_FIT { }It does not output any JUnit XML
The Google AI search results for "FitNesseRunner annotation output junit" and "FitNesseRunner annotation doesn't output junit" seem to hallucinate that this code should work, but checking their sources all leads back to the "java -jar fitnesse-standalone.jar" execution method.
Running jar directly gives me access to http://localhost/FitNesse.ReleaseNotes which suggests I am using 20221102, which has long since supported outputting xml format.
Question: What is a modern method to get XML, preferably XML JUnit output from a fitnesse test suite?
