Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[wtp-releng] Running JUnit's with -ea

We have recently discovered a bug that would have been caught much earlier if we had been running our JUnit tests with assertions enabled (-ea VM flag).  I want to add the -ea option to all of our JSF Tools JUnit tests.  I assume the best way to do this is to edit each test.xml  with an extraVMArgs property.

Are there any known issues with taking this approach?  Any reason not to proceed with this approach?


Thanks,

Cameron

Back to the top