Test-Driven Development with Java - Helion

Tytuł oryginału: Test-Driven Development with Java
ISBN: 9781803237961
stron: 348, Format: ebook
Data wydania: 2023-01-13
Księgarnia: Helion
Cena książki: 139,00 zł
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.
Osoby które kupowały "Test-Driven Development with Java", wybierały także:
- Cisco CCNA 200-301. Kurs video. Administrowanie bezpieczeństwem sieci. Część 3 665,00 zł, (39,90 zł -94%)
- Cisco CCNA 200-301. Kurs video. Administrowanie urządzeniami Cisco. Część 2 665,00 zł, (39,90 zł -94%)
- Cisco CCNA 200-301. Kurs video. Podstawy sieci komputerowych i konfiguracji. Część 1 665,00 zł, (39,90 zł -94%)
- Cisco CCNP Enterprise 350-401 ENCOR. Kurs video. Programowanie i automatyzacja sieci 443,33 zł, (39,90 zł -91%)
- CCNP Enterprise 350-401 ENCOR. Kurs video. Mechanizmy kierowania ruchem pakiet 443,33 zł, (39,90 zł -91%)
Spis treści
Test-Driven Development with Java. Create higher-quality software by writing tests first with SOLID and hexagonal architecture eBook -- spis treści
- 1. Building the Case for TDD
- 2. Using TDD to Create Good Code
- 3. Dispelling Common Myths about TDD
- 4. Building a typical application using TDD
- 5. Writing our First Test
- 6. Following the Rhythms of TDD
- 7. Driving Design: TDD and SOLID
- 8. Test Doubles: Stubs and Mocks
- 9. Hexagonal Architecture: Decoupling external systems
- 10. FIRST Tests and the Test Pyramid
- 11. Exploring TDD with Quality Assurance
- 12. Test First, Test Later, Test Never
- 13. Driving the domain layer
- 14. Driving the database layer
- 15. Driving the Web Layer