You must enable assertions.
Under window/preferences/java/installed JREs, edit the JRE, and set the
vmargs to -ea
Benedict
> -----Original Message-----
> From: albamatiit [mailto:[EMAIL PROTECTED]
> Sent: 08 November 2004 13:49
> To: [EMAIL PROTECTED]
> Subject: [junit] assert keywork
>
>
>
>
>
> I use JUnit in Eclipse 3.0. When an assert (java keyword) fail, the
> test go on instead of terminate with an error. How can I detect an
> assert failure in tests?
> Bye
> Alberto
>
>
>
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.789 / Virus Database: 534 - Release Date: 07/11/2004
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.789 / Virus Database: 534 - Release Date: 07/11/2004
| Yahoo! Groups Sponsor |
| Get unlimited calls to U.S./Canada |
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/junit/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
