This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Enable Java assertions when running JUnit tests | ||
---|---|---|---|
Product: | java | Reporter: | fommil <fommil> |
Component: | JUnit | Assignee: | Victor Vasilyev <vvg> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | UMBRELLA |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://www.nabble.com/JUnits-and-default-settings-to14635875.html | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 175517 | ||
Bug Blocks: | 139035 |
Description
fommil
2008-01-07 19:29:39 UTC
has this been assigned to anybody? So everybody is ok with assertions being disabled by default for runs of Unit tests? The only workaround that I know of is to add '-ea' to the run parameters, which obviously mean that the live run has assertions... not good. See details about fix in the Bug 175517 |