Win a copy of Python Continuous Integration and Delivery this week in the Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

Pragmatic Unit Testing in Java 8 with JUnit by Jeff Langr  RSS feed

 
Sheriff
Posts: 4589
288
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
[img]https://imagery.pragprog.com/products/421/utj2_xlargecover.jpg[/img]
[size=10]Image from pragprog.com[/size]
Publisher: The Pragmatic Bookshelf

[size=18][b]Summary[/b][/size]
[quote=The Pragmatic Bookshelf] The Pragmatic Programmers classic is back! Freshly updated for modern software development, Pragmatic Unit Testing in Java 8 With JUnit teaches you how to write and run easily maintained unit tests in JUnit with confidence. You’ll learn mnemonics to help you know what tests to write, how to remember all the boundary conditions, and what the qualities of a good test are. You’ll see how unit tests can pay off by allowing you to keep your system code clean, and you’ll learn how to handle the stuff that seems too tough to test.[/quote]
[size=18][b]Book Preview (when available)[/b][/size]


[size=18][b]From the publisher[/b][/size]
[list][url=http://media.pragprog.com/titles/utj2/preface.pdf]Preface[/url][/list] [list][url=http://media.pragprog.com/titles/utj2/first.pdf]Building Your First JUnit Test (excerpt)[/url][/list] [list][url=http://media.pragprog.com/titles/utj2/bicep.pdf]What to Test: The Right-BICEP (excerpt)[/url][/list] [list][url=http://media.pragprog.com/titles/utj2/refactoring.pdf]Refactoring to Cleaner Code (excerpt)[/url][/list]
[size=18][b]Where to get it?[/b][/size]

[list][url=http://www.amazon.com/Pragmatic-Unit-Testing-Java-JUnit/dp/1941222595/jranch-20]Amazon.com[/url][/list] [list][url=https://pragprog.com/book/utj2/pragmatic-unit-testing-in-java-8-with-junit]The Pragmatic Bookshelf[/url][/list]
[size=18][b]Related Websites[/b][/size]
[list][url=http://www.groovy-lang.org//]groovy-lang.org[/url][/list]

 
Tim Cooke
Sheriff
Posts: 4589
288
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In 'Pragmatic Unit Testing in Java 8' Jeff demonstrates a very effective way to develop software, that just happens to involve writing a lot of Unit Tests. While the book is aimed as Java programmers who are new to Unit Testing, more experienced programmers are likely to learn a thing or two as well.

The book starts by guiding you through the development of a sample application discussing how and, quite importantly, how you might write useful Unit Tests to verify that the application works as intended. The 'why' topic is nicely supplemented with a sequence of hypothetical conversations between two colleagues, where one is not sold on the virtues of testing and the other puts forth a reasoned argument. Having a single example application to work with is a nice coherent way for the readers to practice the material being presented for themselves.

The author gives a selective exploration into the features of the jUnit testing framework that he finds most useful and highlights how to use them to write expressive test code. The later chapters reinforce an important concept that your test code is just as important as your production code, and equal care should be taken in keeping it clean. A valuable mindset.

Overall, Pragmatic Unit Testing in Java 8 is a solid introduction to unit testing and presents a wealth of tips, tricks, and good practices that will set any programmer in good stead. Recommended.

I give this book 8 out of 10 horseshoes.

---
Disclosure: I received a copy of this book from the publisher in exchange for reviewing this book on behalf of CodeRanch.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!