Test Driven Development with JUnit 5
Buch, Englisch, 151 Seiten, Format (B × H): 155 mm x 235 mm, Gewicht: 2642 g
ISBN: 978-1-4842-3014-5
Verlag: Apress
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
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
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.