wood burning stoves 2.0*
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.
 
 
subject: in testNG we test errors or exceptions?