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
Register / Login
JavaRanch » Java Forums » Engineering » Testing
Reply 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: 1405

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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: What type of exceptions does junit catch
 
Similar Threads
exceptions
Exceptions - throws and try, catch..
HTTP Unit and Java 5
Running JUnit testcases with Maven
how to handle the exception for JUnit code