Fr. 103.00

Java Unit Testing with JUnit 5 - Test Driven Development with JUnit 5

English · Paperback / Softback

Shipping usually within 1 to 2 weeks (title will be printed to order)

Description

Read more

Explore the new way of building and maintaining test cases with Java test driven development (TDD) using JUnit 5. This book doesn't just talk about the new concepts, it shows you ways of applying them in TDD and Java 8 to continuously deliver code that excels in all metrics.

Unit testing and test driven development have now become part of every developer's skill set. For Java developers, the most popular testing tool has been JUnit, and JUnit 5 is built using the latest features of Java. With Java Unit Testing with JUnit 5, you'll master these new features, including method parameters, extensions, assertions and assumptions, and dynamic tests. You'll also see how to write clean tests with less code.
This book is a departure from using older practices and presents new ways of performing tests, building assertions, and injecting dependencies.
What You Will Learn

  • Write tests the JUnit 5 way
  • Run your tests from within your IDE
  • Integrate tests with your build and static analysis tools
  • Migrate from JUnit 4 to JUnit 5
Who This Book Is For
Java developers both with and without any prior unit testing experience.

List of contents

1: Building Software the Correct Way.- 2: Understanding Core JUnit 5.- 3: Developing an Application with JUnit 5 .- 4: Dependency Injection, Mocking, Testing Traits, and Grouping Tests.- 5: Testing Exceptions.- 6: Integrating Tools.- 7: JUnit 5 Extension Model.- 8: Dynamic Tests and Migration from JUnit 4.

About the author

Shekhar Gulati is a seasoned Java programmer with more than 11 years of Java software development experience. He is also a public speaker and technology blogger. He is the author of the OpenShift Cookbook, published in October 2014.


Rahul Sharma is a seasoned Java developer with over 11 years of industry experience. He is an open-source enthusiast and has worked on various projects such as Apache Crunch and HDT. He is the author of NGINX High Performance, published in July 2015.

Summary

Explore the new way of building and maintaining test cases with Java test driven development (TDD) using JUnit 5. This book doesn't just talk about the new concepts, it shows you ways of applying them in TDD and Java 8 to continuously deliver code that excels in all metrics. 

Unit testing and test driven development have now become part of every developer's skill set. For Java developers, the most popular testing tool has been JUnit, and JUnit 5 is built using the latest features of Java.  With Java Unit Testing with JUnit 5, you'll master these new features, including method parameters, extensions, assertions and assumptions, and dynamic tests. You'll also see how to write clean tests with less code. 

This book is a departure from using older practices and presents new ways of performing tests, building assertions, and injecting dependencies. 

What You Will Learn
  • Write tests the JUnit 5 way 
  • Run your tests from within your IDE
  • Integrate tests with your build and static analysis tools
  • Migrate from JUnit 4 to JUnit 5

Who This Book Is For

Java developers both with and without any prior unit testing experience.

Product details

Authors Shekha Gulati, Shekhar Gulati, Rahul sharma
Publisher Springer, Berlin
 
Languages English
Product format Paperback / Softback
Released 31.01.2018
 
EAN 9781484230145
ISBN 978-1-4842-3014-5
No. of pages 151
Dimensions 155 mm x 12 mm x 233 mm
Weight 266 g
Illustrations XIII, 151 p. 47 illus., 45 illus. in color.
Subject Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.