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

Web Bug from http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1099963990243077
Web Bug from http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.3001176/D=groups/S=:HM/A=2343726/rand=239248944


Yahoo! Groups Links

Reply via email to