• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

in testNG we test errors or exceptions?

 
kenji kunoichi
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in program testing (whiteBox) we test the errors or exceptions?
 
E Armitage
Rancher
Posts: 989
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, especially in white box testing. white box testing usually must result in 100% coverage which means testing all branches including catch blocks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic