File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Testing and the fly likes in testNG we test errors or exceptions? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "in testNG we test errors or exceptions?" Watch "in testNG we test errors or exceptions?" New topic
Author

in testNG we test errors or exceptions?

kenji kunoichi
Ranch Hand

Joined: Jun 02, 2007
Posts: 46
in program testing (whiteBox) we test the errors or exceptions?
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 988
    
    9
Yes, especially in white box testing. white box testing usually must result in 100% coverage which means testing all branches including catch blocks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: in testNG we test errors or exceptions?
 
jQuery in Action, 3rd edition