[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] Re: Run As JUnit Plug-in Test
|
- From: Marco Maccaferri <macca@xxxxxxxxxxxxx>
- Date: Wed, 21 May 2008 14:23:48 +0200
- Newsgroups: eclipse.platform
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.14 (X11/20080501)
On 21/05/2008 11:58 Manuel Selva ha scritto:
Is there any way to tell PDE/JUnit to inform the user each time an Error
is logged into error log the same way test failure are presented to the
user ?
AFAIK, there is no such way.
However, the problem is that you are testing a method that catches and
log that error. You should test the method that actually throws the
exception so it can be catched by JUnit and handled like a failure.
Hope this helps.
Regards,
Marco.