Test-Driven Development with Java
eBook - ePub

Test-Driven Development with Java

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

Alan Mellor

Condividi libro
  1. 348 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Test-Driven Development with Java

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

Alan Mellor

Dettagli del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Drive development with automated tests and gain the confidence you need to write high-quality softwareKey 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 planBook 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 processWho 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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Test-Driven Development with Java è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Test-Driven Development with Java di Alan Mellor in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Computer Science e Bioinformatics. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2023
ISBN
9781803237961
Edizione
1

Indice dei contenuti