نام کتاب
Test-Driven Development with Java

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

Paperback348 Pages
PublisherPackt
Edition1
LanguageEnglish
Year2022
ISBN9781803236230
1K
A1705
انتخاب نوع چاپ:
جلد سخت
528,000ت
0
جلد نرم
468,000ت
0
طلق پاپکو و فنر
478,000ت
0
مجموع:
0تومان
کیفیت متن:اورجینال انتشارات
قطع:B5
رنگ صفحات:رنگی با کادر / تصویر
پشتیبانی در روزهای تعطیل!
ارسال به سراسر کشور

TDD#

Java#

SOLID#

TOO#

توضیحات

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 Description

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.


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 for

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

Table of Contents
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 TOO 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

About the Author

Alan Mellor is an academy lead at BJSS, training the next generation of consulting software engineers, and the author of Java OOP Done Right: Create object-oriented code you can be proud of with modern Java. Alan started with a Sinclair ZX81 computer with 1K of RAM and is very happy to have better computers now. Alan's work includes industrial control in C, web applications for e-commerce, gaming, and banking in Java and Go, and document warehousing in C++. His most visible code is part of Nokia Bounce and the RAF Red Arrows flight simulator if you go back far enough.

دیدگاه خود را بنویسید
نظرات کاربران (0 دیدگاه)
نظری وجود ندارد.
کتاب های مشابه
Java
914
Learn Java with Projects
782,000 تومان
Java
799
Reactive Streams in Java
252,000 تومان
Blockchain
843
Introducing Blockchain with Java
299,000 تومان
Java
815
Modernizing Enterprise Java
268,000 تومان
Java
896
Data Structures and Algorithms Made Easy in Java
532,000 تومان
Java
838
Java Software Solutions
1,124,000 تومان
Java
832
Objects First with Java
965,000 تومان
Java
883
Core Java , Vol II
1,104,000 تومان
Java
823
Java All-in-One For Dummies
1,155,000 تومان
Java
979
Elements of Programming Interviews Java
722,000 تومان
قیمت
منصفانه
ارسال به
سراسر کشور
تضمین
کیفیت
پشتیبانی در
روزهای تعطیل
خرید امن
و آسان
آرشیو بزرگ
کتاب‌های تخصصی
هـر روز با بهتــرین و جــدیــدتـرین
کتاب های روز دنیا با ما همراه باشید
آدرس
پشتیبانی
مدیریت
ساعات پاسخگویی
درباره اسکای بوک
دسترسی های سریع
  • راهنمای خرید
  • راهنمای ارسال
  • سوالات متداول
  • قوانین و مقررات
  • وبلاگ
  • درباره ما
چاپ دیجیتال اسکای بوک. 2024-2022 ©