aspose file tools*
The moose likes Testing and the fly likes What type of exceptions does junit catch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Bookmark "What type of exceptions does junit catch" Watch "What type of exceptions does junit catch" New topic
Author

What type of exceptions does junit catch

VenkataPrasad Regula
Ranch Hand

Joined: Jun 30, 2011
Posts: 63
When you write a junit test methods code, does it catch checked exception or unchecked exception?
Jelle Klap
Bartender

Joined: Mar 10, 2008
Posts: 1779
    
    7

Why don't you give it a try?



By the way, I'm moving this to our Testing forum for you


Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: What type of exceptions does junit catch