Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem: when Fitnesse is launched to run a test or a suite (with -c Wik... #706
Problem: when Fitnesse is launched to run a test or a suite (with -c WikiName?test) - and if WikiName does not exist (e.g. mistyped in build file) - there were NullPointerException, and java returned exit code = 0, which made Maven think, that build have succeeded.
Fix: track the fact, that responder tries to return 404 and throw an exception, then catch exceptions in FitNesseMain.main() and set exit code to 1
I'd be glad to, but can you, please give me one hint.
I've walked through existing Fitnesse testsuite (controlled by JUnit) - and I couldn't find any similar scenarios there. I mean - in all the tests I have found we do not fork java.
So, before building such a new thing, I want your advice.
Which way will be better?