Unit testing exceptions from constructor

21 views
Skip to first unread message

Debasish Padhy

unread,
Apr 27, 2014, 10:52:55 AM4/27/14
to catch-excep...@googlegroups.com
Hi,

I am trying to unit test a constructor with verifyException. 

I have posted a detailed question on stackOverflow. 


Can you please help ?

thanks,
Debasish

rw...@gmx.de

unread,
May 2, 2014, 6:19:36 AM5/2/14
to catch-excep...@googlegroups.com
Hi Deborah,

I think, meanwhile Jon Skeet has already said everything that is relevant on stackoverflow.

I agree with him: Java 8 (together with new features of TestNG and JUnit) makes catch-exception redundant.

Padhy, Debasish

unread,
May 2, 2014, 6:49:21 AM5/2/14
to catch-excep...@googlegroups.com
​Yes. I got Jon Skeet was cool and real quick in responding to my queries. 

Thanks for reverting on this. Cool job on catch-exception. Till Java 8 is usable I am gonna stick to catch-exception. 



--
Sie erhalten diese Nachricht, weil Sie in Google Groups ein Thema der Gruppe "catch-exception-discuss" abonniert haben.
Wenn Sie sich von diesem Thema abmelden möchten, rufen Sie https://groups.google.com/d/topic/catch-exception-discuss/d9rUKuoVx24/unsubscribe auf.
Wenn Sie sich von dieser Gruppe und allen Themen dieser Gruppe abmelden möchten, senden Sie eine E-Mail an catch-exception-d...@googlegroups.com.
Weitere Optionen finden Sie unter https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages