gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.53k stars 378 forks source link

Support more flags in JUnitShell/GWTTestCase #10033

Open niloc132 opened 2 weeks ago

niloc132 commented 2 weeks ago

GWT version: 2.12 Browser (with version): any Operating System: any


Description

When testing either an application or non-application project, it can be helpful to be able to tweak GWTTestCases to compile its output in a way that more closely matches how the application itself might run. Specifically, I was surprised to find we couldn't use -strict in tests.

Examples:

Steps to reproduce

Pass -strict or -failOnError (or any other flags above) as part of the gwt.args system property when running tests.

Links to further discussions

See also https://github.com/gwtproject/gwt/issues/7711