Mellor, Alan
Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture
- ISBN 13:
- 9781803236230
- author:
- Mellor, Alan
- format:
- Paperback
- publisher:
- Packt Publishing
- language:
- English
- Publication Year:
- 2023
- Pages:
- 348
- Dimensions:
- 23.5 x 19.1 x 1.8 centimetres (0
- Genre:
- Computers, Buyer's Guides, Computers,
- Condition:
- New
- Availability:
- Item usually sent within 7 working days
Description
Mastering Test-Driven Development with Java to create higher-quality software by writing tests first is made straightforward in this book. You'll learn how to apply common design patterns and TDD best practices, as well as the rhythms of TDD - arrange, act, assert and red, green, refactor.
The book begins by explaining the basics of good code and bad code, before guiding you through building a sample application using TDD. You'll also learn how to bring external systems under control, apply advanced design techniques such as SOLID patterns and refactoring, and balance unit tests with integration tests.
By the end of this book, you'll be able to implement Test-Driven Development in real-world use cases and develop a modern REST microservice backed by a Postgres database in Java 17. You'll learn how to design code for simplicity and correctness, and gain the confidence to write high-quality software.