Escucha y lee

Entra en un mundo infinito de historias

  • Vive la experiencia de leer y escuchar todo lo que quieras
  • Más de 650.000 títulos
  • Títulos en exclusiva y Storytel Originals
  • Primeros 14 días gratis, luego 8,99 €/mes
  • Cancela cuando quieras
Suscríbete ahora
Details page - Device banner - 894x1036
Cover for Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture

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

Idioma
Inglés
Formato
Categoría

No ficción

Test-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.

© 2023 Packt Publishing (Ebook): 9781803237961

Fecha de lanzamiento

Ebook: 13 de enero de 2023

Etiquetas

Otros también disfrutaron ...

Elige el plan:

  • Más de 650.000 títulos

  • Kids mode

  • Modo sin conexión

  • Cancela cuando quieras

¡Más popular!

Unlimited

Para los que quieren escuchar y leer sin límites.

8.99 € /mes
14 días gratis
  • 1 cuenta

  • Acceso ilimitado

  • Escucha y lee los títulos que quieras

  • Modo sin conexión + Kids Mode

  • Cancela en cualquier momento

Suscríbete ahora

Family

Para los que quieren compartir historias con su familia y amigos.

Desde 15.99 €/mes
  • 2-3 cuentas

  • Acceso ilimitado

  • Escucha y lee los títulos que quieras

  • Modo sin conexión + Kids Mode

  • Cancela en cualquier momento

2 cuentas

15.99 € /mes
Pruébalo ahora