Free shipping on orders over $99
Test-Driven Development with Java

Test-Driven Development with Java

Create higher-quality software by writing tests first with SOLID and hexagonal architecture

by Alan Mellor
Paperback
Publication Date: 20/01/2023

Share This Book:

  $71.49
or 4 easy payments of $17.87 with
afterpay
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 DescriptionTest-driven development enables developers to craft well-designed code and prevent defects. It's 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. You'll then gradually move toward building a sample application using TDD, where you'll apply the two key rhythms -- red, green, refactor and arrange, act, assert. Next, you'll learn how to bring external systems such as databases under control by using dependency inversion and test doubles. As you advance, you'll delve into advanced design techniques such as SOLID patterns, refactoring, and hexagonal architecture. You'll 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, you'll 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 forThis 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.
ISBN:
9781803236230
9781803236230
Category:
Computer programming / software development
Format:
Paperback
Publication Date:
20-01-2023
Publisher:
Packt Publishing Limited
Country of origin:
United Kingdom
Pages:
348
Dimensions (mm):
93x75mm

This title is in stock with our Australian supplier and should arrive at our Sydney warehouse within 1 - 2 weeks of you placing an order.

Once received into our warehouse we will despatch it to you with a Shipping Notification which includes online tracking.

Please check the estimated delivery times below for your region, for after your order is despatched from our warehouse:

ACT Metro: 2 working days
NSW Metro: 2 working days
NSW Rural: 2-3 working days
NSW Remote: 2-5 working days
NT Metro: 3-6 working days
NT Remote: 4-10 working days
QLD Metro: 2-4 working days
QLD Rural: 2-5 working days
QLD Remote: 2-7 working days
SA Metro: 2-5 working days
SA Rural: 3-6 working days
SA Remote: 3-7 working days
TAS Metro: 3-6 working days
TAS Rural: 3-6 working days
VIC Metro: 2-3 working days
VIC Rural: 2-4 working days
VIC Remote: 2-5 working days
WA Metro: 3-6 working days
WA Rural: 4-8 working days
WA Remote: 4-12 working days

Reviews

Be the first to review Test-Driven Development with Java.