- Paperback: 236 pages
- Publisher: Pragmatic Bookshelf; 1 edition (March 19, 2015)
- Language: English
- ISBN-10: 1941222595
- ISBN-13: 978-1941222591
- Product Dimensions: 7.5 x 0.5 x 9.2 inches
- Shipping Weight: 15.5 ounces (View shipping rates and policies)
- Average Customer Review: 21 customer reviews
Amazon Best Sellers Rank:
#332,320 in Books (See Top 100 in Books)
- #108 in Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Testing
- #360 in Books > Computers & Technology > Programming > Languages & Tools > Java
- #830 in Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Software Development
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Pragmatic Unit Testing in Java 8 with JUnit 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
All Books, All the Time
Read author interviews, book reviews, editors picks, and more at the Amazon Book Review. Read it now
Frequently bought together
Customers who bought this item also bought
About the Author
Jeff Langr is a veteran software developer with well over three decades experience building software and helping others learn how to do so. Jeff develops software for Outpace Systems, Inc., and still provides help to customers through Langr Software Solutions, Inc. Jeff's prior Pragmatic Bookshelf titles include Agile in a Flash (with Tim Ottinger) and Modern C++ Programming with Test-Driven Development.
Andy Hunt has written and co-written over a half-dozen previous titles, including the classic The Pragmatic Programmer, Practices of an Agile Developer, Pragmatic Thinking & Learning, and Learn to Program with Minecraft Plugins, and regularly speaks at conferences on software development around the world.
Dave Thomas is a programmer who likes to evangelize cool stuff. He cowrote "The Pragmatic Programmer" and was one of the creators of the Agile Manifesto. His book "Programming Ruby" introduced the Ruby language to the world, and "Agile Web Development with Rails" helped kickstart the Rails revolution.
Top customer reviews
The 'Java 8' part in the title seemed pretty meaningless. There's not a whole lot of Java 8 features in the book that related to testing; it seems like the authors just plug in some functional-style code in the examples.
Other than that, it was a fantastic book and a book that I'll likely look back to in the future.
There were some Java 8 idioms used include functional interfaces, method references, streams and lambdas. There were also some places that could have used lambads and didn't. For example, chapter 8 makes a big point of refactoring to make the code cleaner. But then the anyMatches/matches methods use a loop.
The narrative about Dale testing and Pat the skeptic added nice color. Each chapter ends with a short “After” section that provides a mix of summary and transition. I also liked the technique of using arrows to show what changed in each refactoring and edition. Testing concepts were covered well including the FAST, Right BIPCEP and CORRECT acronyms.
I think the book was great. It's a timely updated to the original Pragmatic Unit Testing book (which uses JUnit 3.8.) But I have to take off a tiny bit for the fact that Java 8 looks to have been retrofitted in.
I give this book 9 out of 10 horseshoes.
Disclosure: I received a review copy of this book from the publisher for reviewing it on behalf of CodeRanch.
I really liked the emphasis on where/how to change your code to make it more testable. The refactoring examples were very helpful as well. The chapter on using mocks was only about 10-11 pages long, although it was a good intro to using mockito. The book does not go in depth on Java 8 features, but I did appreciate seeing the examples with this newer syntax.
Overall very happy with this purchase.