Notes to JUnit
A.1 Frequently Asked Questions (FAQs)
This short list of frequently asked questions was originally based on the FAQs contained in the JUnit documentation. The official JUnit FAQ list [URL:JUnitFAQ] has completely changed meanwhile. The following questions will be answered:
How do I implement a test case for a thrown exception?
How do I organize my test case classes?
How do I run setup code once for all my test cases? ...
Get Unit Testing in Java now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.