[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform] Re: Run As JUnit Plug-in Test


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.