my dog learned polymorphism*
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
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: 44
in program testing (whiteBox) we test the errors or exceptions?
E Armitage
Rancher

Joined: Mar 17, 2012
Posts: 892
    
    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?
 
Similar Threads
EL Relational Operators
Can AssertionError can be caught and handled?
Q on Exception Handling
Exceptions Doubt
Exception