Testing with JUnit Book Announcement
Today, I am very pleased to inform you that Packt Publishing has put out a JUnit book announcement called Testing with JUnit on their website. A couple of months ago I was asked to write a book about one of my favorite topics – testing with JUnit. Needless to say that I agreed and meanwhile the chapters are almost completed. Release is scheduled for September 2015, but the book has already been advertised for pre-ordering.
Who Testing with JUnit Is for
“No matter what your specific background as a Java developer, whether you’re simply interested in building up a safety net to reduce regressions of your desktop application or in improving your server-side reliability based on robust and reusable components, unit testing is the way to go.”
“This book provides you with a comprehensive but concise entrance advancing your knowledge step-wise to a professional level” – to quote myself from the info sheet ;-)
About the Content
The book benefits from the JUnit in a Nutshell mini- series I’ve written last year, but covers all topics quite more substantially and refines several concepts. For further details on the content let me again cite from the sheet:

“JUnit has matured to become the most important tool when it comes to automated developer tests in Java. Supported by all IDEs and build systems, it empowers programmers to deliver software features reliably and efficiently. However, writing good unit tests is a skill that needs to be learned; otherwise it’s all too easy to end up in gridlocked development due to messed up production and testing code. Acquiring the best practices for unit testing will help you to prevent such problems and lead your projects to success with respect to quality and costs.”

“This book explains JUnit concepts and best practices applied to the test first approach, a foundation for high quality Java components delivered in time and budget.”
“You’ll be guided continuously through a practically relevant example and pick up background knowledge and development techniques step by step. Starting with the basics of tests organization you’ll soon comprehend the necessity of well structured tests and delve into the relationship of requirement decomposition and the many-faceted world of test double usage. In conjunction with third-party tools you’ll be trained in writing your tests efficiently, adapt your test case environment to particular demands and increase the expressiveness of your verification statements. Finally, you’ll experience continuous integration as the perfect complement to support short feedback cycles and quality related reports for your whole team.”

“The tutorial gives a profound entry point in the essentials of unit testing with JUnit and prepares you for test-related daily work challenges.”
Once writing is done, I will put the code of the ongoing example into a public GitHub repository. Thus everybody will be able to easily browse the sample solutions in the application’s context. This will also allow to have a related discussion and to improve the code propsals if it feels appropriate.
So far, it has been a great experience and I hope you like the result as much as I do. Of course I’ll keep you posted on the latest developments.
Order Testing with JUnit- Xmas Clean Sheet Update (0.9) - 21. December 2021
- Clean Sheet Service Update (0.8) - 23. May 2020
- Clean Sheet Service Update (0.7) - 24. April 2020