Pragmatic Unit Testing in Java 8 with JUnit

Pragmatic Unit Testing in Java 8 with JUnit
ISBN-10
168050424X
ISBN-13
9781680504248
Category
Computers
Pages
236
Language
English
Published
2015-03-09
Publisher
Pragmatic Bookshelf
Authors
Andy Hunt, Dave Thomas, Jeff Langr

Description

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. Pragmatic Unit Testing in Java 8 With JUnit steps you through all the important unit testing topics. If you've never written a unit test, you'll see screen shots from Eclipse, IntelliJ IDEA, and NetBeans that will help you get past the hard part--getting set up and started. Once past the basics, you'll learn why you want to write unit tests and how to effectively use JUnit. But the meaty part of the book is its collected unit testing wisdom from people who've been there, done that on production systems for at least 15 years: veteran author and developer Jeff Langr, building on the wisdom of Pragmatic Programmers Andy Hunt and Dave Thomas. You'll learn: How to craft your unit tests to minimize your effort in maintaining them. How to use unit tests to help keep your system clean. How to test the tough stuff. Memorable mnemonics to help you remember what's important when writing unit tests. How to help your team reap and sustain the benefits of unit testing. You won't just learn about unit testing in theory--you'll work through numerous code examples. When it comes to programming, hands-on is the only way to learn!

Similar books

  • Pragmatic Unit Testing in Java 8 with JUnit
    By Jeff Langr

    But the meaty part of the book is its collected unit testing wisdom from people who've been there, done that on production systems for at least 15 years: veteran author and developer Jeff Langr, building on the wisdom of Pragmatic ...

  • Unit Testing in Java: How Tests Drive the Code
    By Johannes Link

    Unit Testing in Java How Tests Drive the Code Johannes Link With contributions by Peter Fröhlich Forewords by Erich Gamma and Frank Westphal "This...is a practical introduction to using automated unit tests and the test-first approach in ...

  • Pragmatic Unit Testing in C# with NUnit
    By Andrew Hunt, Dave Thomas, Matt Hargett

    Presents a guide to unit testing with the NUnit library in C# along with providing information on writing code, detecting and fixing problems, testing pieces of code, and testing with a team.

  • The Pragmatic Programmer: From Journeyman to Master
    By Andrew Hunt, David Thomas

    What others in the trenches say about The Pragmatic Programmer... “The cool thing about this book is that it’s great for keeping the programming process fresh.

  • Rails for Java Developers
    By Justin Gehtland, Stuart Dabbs Halloway

    Many Java developers are now looking at Ruby, and the Ruby on Rails web framework. If you are one of them, this book is your guide. Written by experienced developers...

  • The Cucumber Book: Behaviour-Driven Development for Testers and Developers
    By Matt Wynne, Aslak Hellesoy, Steve Tooke

    You need Cucumber: a testing, communication, and requirements tool-all rolled into one. All the code in this book is updated for Cucumber 2.4, Rails 5, and RSpec 3.5.

  • Practical Unit Testing with JUnit and Mockito
    By Tomek Kaczanowski

    This book explains in detail how to implement unit tests using two very popular open source Java technologies: JUnit and Mockito.

  • Modern C++ Programming with Test-Driven Development: Code Better, Sleep Better
    By Jeff Langr

    ... PragProg errata page: Bradford Baker, Jim Barnett, Travis Beatty, Kevin Brown, Brett DiFrischia, Jared Grubb, David Pol, Bo Rydberg, Jon Seidel, Marton Suranyi, Curtis Zimmerman, and many others. Thanks again to Tim Ottinger, ...

  • Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions
    By Venkat Subramaniam

    If you're eager to take advantage of the new features in the language, this is the book for you. What you need: Java 8 with support for lambda expressions and the JDK is required to make use of the concepts and the examples in this book.

  • Java by Comparison: Become a Java Craftsman in 80 Examples
    By Simon Harrer, Jörg Lenhard, Linus Dietz

    Discover handy tips and tricks, as well as common bugs an experienced Java programmer needs to know. Make your way from a Java novice to a master craftsman. This book is a useful companion for anyone learning to write clean Java code.