Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture
- Autor
- Editorial
- 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 (Libro electrónico): 9781803237961
Fecha de lanzamiento
Libro electrónico: 13 de enero de 2023
Otros también disfrutaron...
- Global Societal Collapse: The Musical: Let’s all go down singing and dancing Bart Flos
- The Woman in White Wilkie Collins
- THE PANIC ROOM: 30+ Ghost Tales by Sheridan Le Fanu: Enriched edition. Madam Crowl's Ghost, Carmilla, The Ghost and the Bonesetter, Schalken the Painter, The Haunted Baronet, The Familiar, Green Tea… Joseph Sheridan Le Fanu
- Harry Potter y la piedra filosofal J.K. Rowling
- La Biblioteca de la Medianoche (AdN) Matt Haig
- Yesteryear Caro Claire Burke
- Odisea - E1 Javier Alonso López
- Cadaver exquisito Agustina Bazterrica
- Lo Que Piensas, Lo Creas: El poder invisible de tus palabras, tu mente y tu energía para transformar tu realidad desde adentro Tus Decretos
- La psicología del dinero: Cómo piensan los ricos: 18 claves imperecederas sobre riqueza y felicidad Morgan Housel
- Los secretos de la mente millonaria T. Harv Eker
- 1984 Anna Lea, George Orwell
- Comerás flores Lucía Solla Sobral
- El Poder De No Reaccionar: Cómo Controlar Tus Emociones: Cómo liberarte de la impulsividad emocional, entrenar tu mente y cultivar una presencia serena que transforma cada decisión Tus Decretos
- Alas de sangre Rebecca Yarros
- La Metamorfosis Franz Kafka
- Como ser un imán para las personas Marc Reklau
- El Principito Antoine de Saint-Exupéry
Explora nuevos mundos
Más de 1 millón de títulos
Modo sin conexión
Kids Mode
Cancela en cualquier momento
Unlimited
Dale play a tu próxima historia favorita.
CLP 7990 /mes
1 cuenta
Acceso ilimitado
Escucha y lee los títulos que quieras
Modo sin conexión + Kids Mode
Cancela en cualquier momento
