JUnit, created by Kent Beck and Erich Gamma, is an open source framework for test-driven development in any Java-based code. JUnit automates unit testing and reduces the effort required to frequently test code while developing it.
While there are lots of bits of documentation all over the place, there isn't a go-to-manual that serves as a quick reference for JUnit. This Pocket Guide meets the need, bringing together all the bits of hard to remember information, syntax, and rules for working with JUnit, as well as delivering the insight and sage advice that can only come from a technology's creator.
Any programmer who has written, or is writing, Java Code will find this book valuable. Specifically it will appeal to programmers and developers of any level that use JUnit to do their unit testing in test-driven development under agile methodologies such as Extreme Programming (XP) [another Beck creation].
Table of contents
1. JUnit Pocket Guide
- Automating Tests
- Why Test?
- JUnit’s Goals
- Testing Exceptions
- JUnit’s Implementation
- JUnit API
- Test-First Programming
- Other Uses for Tests
- Story of JUnit
- Extending JUnit
- JUnit and Ant
- Running JUnit Standalone
- JUnit and IDEs
- Test Infection
- About the Author
- Title: JUnit Pocket Guide
- Release date: September 2004
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596007430
You might also like
Pragmatic Unit Testing in Java 8 with JUnit
The Pragmatic Programmers classic is back! Freshly updated for modern software development, Pragmatic Unit Testing in …
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
Software Engineering at Google
Today, software engineers need to know not only how to program effectively but also how to …
The Pragmatic Programmer: your journey to mastery, 20th Anniversary Edition, 2nd Edition
"One of the most significant books in my life." —Obie Fernandez, Author, The Rails Way "Twenty …