Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture

Printed Book
SR 212
Inclusive of VAT
Sold as: EACH
SR12Per Month/24 months
Author:Mellor, Alan
Date of Publication: 2023
Book classification:EducationEnglish Books,
No. of pages:348 Pages
Format:Paperback

This book is printed on demand and is non-refundable after purchase

Available Formats :

Printed Book

It will be sent to your address

SR212
Incl. VAT

Choose your delivery preference

Or

About this Product

Drive development with automated tests and gain the confidence you need to write high-quality software


Key Features:

  • Get up and running with common design patterns and TDD best practices
  • Learn to apply the rhythms of TDD - arrange, act, assert and red, green, refactor
  • Understand the challenges of implementing TDD in the Java ecosystem and build a plan


Book Description:

Test-driven development enables developers to craft well-designed code and prevent defects. Its a simple yet powerful tool that helps you focus on your code design, while automatically checking that your code works correctly. Mastering TDD will enable you to effectively utilize design patterns and become a proficient software architect.

The book begins by explaining the basics of good code and bad code, bursting common myths, and why Test-driven development is crucial. Youll then gradually move toward building a sample application using TDD, where youll apply the two key rhythms -- red, green, refactor and arrange, act, assert. Next, youll learn how to bring external systems such as databases under control by using dependency inversion and test doubles. As you advance, youll delve into advanced design techniques such as SOLID patterns, refactoring, and hexagonal architecture. Youll also balance your use of fast, repeatable unit tests against integration tests using the test pyramid as a guide. The concluding chapters will show you how to implement TDD in real-world use cases and scenarios and develop a modern REST microservice backed by a Postgres database in Java 17.

By the end of this book, youll be thinking differently about how you design code for simplicity and how correctness can be baked in as you go.


What You Will Learn:

  • Discover how to write effective test cases in Java
  • Explore how TDD can be incorporated into crafting software
  • Find out how to write reusable and robust code in Java
  • Uncover common myths about TDD and understand its effectiveness
  • Understand the accurate rhythm of implementing TDD
  • Get to grips with the process of refactoring and see how it affects the TDD process


Who this book is for:

This book is for expert Java developers and software architects crafting high-quality software in Java. Test-Driven Development with Java can be picked up by anyone with a strong working experience in Java who is planning to use Test-driven development for their upcoming projects.

Show more

Specifications

SKU9781803236230
Manufacturer Number9781803236230
year published2023
Show more

Report an issue with this product.

Customer Reviews