Description
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
Java developers both with and without any prior unit testing experience.
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.
Book Information
ISBN 9781484230145
Author Shekhar Gulati
Format Paperback
Page Count 151
Imprint APress
Publisher APress