When I run my tests, which call Runner.main, in beta7, I get the error
Error parsing command line arguments. Invalid configuration option: F Problem arg: -oFBAR
I traced this back to org.suiterunner.ReporterFactory
The problem appears to be that the method parseConfigSet depends on static variable allConfigs which is not initialized until an instance is constructed, because the block that initializes it is not static.
The simple fix is to add static before that block.
Alternatively, avoid the block all together by initializing the value as follows:
Strangely, the bad code worked in beta6. Maybe somehow a ReporterFactory was constructed before the config options were parsed.
Thanks for SuiteRunner!
SakuraJ
p.s. I also found an incompatible change not listed in the change notes on page http://www.artima.com/suiterunner/download.jsp The Report constructors in beta6 all have a 'source' parameter that has been removed in beta7.
p.p.s. The Preview button on the "Post new topic" web page does not format text as described in the "Formatting Your Post" instructions --- the preview displays the submitted text as one run-on paragraph.