Items related to Test-Driven Development with Java: Create higher-quality...

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

  • 4.62 out of 5 stars
    8 ratings by Goodreads
 
Image Not Available

Synopsis

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

"synopsis" may belong to another edition of this title.

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.

"About this title" may belong to another edition of this title.

  • PublisherPackt Publishing
  • Publication date2023
  • ISBN 10 180323623X
  • ISBN 13 9781803236230
  • BindingPaperback
  • LanguageEnglish
  • Edition number1
  • Number of pages348
  • Rating
    • 4.62 out of 5 stars
      8 ratings by Goodreads

Buy Used

Condition: As New
Unread book in perfect condition...
View this item

US$ 2.64 shipping within U.S.A.

Destination, rates & speeds

Search results for Test-Driven Development with Java: Create higher-quality...

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 45371452-n

Contact seller

Buy New

US$ 57.38
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Seller Image

Mellor, Alan
Published by Packt Publishing 1/13/2023, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Paperback or Softback

Seller: BargainBookStores, Grand Rapids, MI, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback or Softback. Condition: New. Test-Driven Development with Java: Create higher-quality software by writing tests first with SOLID and hexagonal architecture 1.32. Book. Seller Inventory # BBS-9781803236230

Contact seller

Buy New

US$ 60.03
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 5 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
Used Softcover

Seller: GreatBookPrices, Columbia, MD, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: As New. Unread book in perfect condition. Seller Inventory # 45371452

Contact seller

Buy Used

US$ 58.82
Convert currency
Shipping: US$ 2.64
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New PAP
Print on Demand

Seller: PBShop.store US, Wood Dale, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Shipped from UK. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781803236230

Contact seller

Buy New

US$ 62.16
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New PAP
Print on Demand

Seller: PBShop.store UK, Fairford, GLOS, United Kingdom

Seller rating 4 out of 5 stars 4-star rating, Learn more about seller ratings

PAP. Condition: New. New Book. Delivered from our UK warehouse in 4 to 14 business days. THIS BOOK IS PRINTED ON DEMAND. Established seller since 2000. Seller Inventory # L0-9781803236230

Contact seller

Buy New

US$ 58.81
Convert currency
Shipping: US$ 6.82
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Mellor Alan
Published by Packt Publishing, Limited, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Softcover
Print on Demand

Seller: Majestic Books, Hounslow, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Print on Demand pp. 319. Seller Inventory # 402217268

Contact seller

Buy New

US$ 62.12
Convert currency
Shipping: US$ 8.83
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 4 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Softcover

Seller: Ria Christie Collections, Uxbridge, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. In. Seller Inventory # ria9781803236230_new

Contact seller

Buy New

US$ 57.99
Convert currency
Shipping: US$ 16.27
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing Limited, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Paperback / softback
Print on Demand

Seller: THE SAINT BOOKSTORE, Southport, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback / softback. Condition: New. This item is printed on demand. New copy - Usually dispatched within 5-9 working days 100. Seller Inventory # C9781803236230

Contact seller

Buy New

US$ 63.99
Convert currency
Shipping: US$ 10.52
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
New Softcover

Seller: GreatBookPricesUK, Woodford Green, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: New. Seller Inventory # 45371452-n

Contact seller

Buy New

US$ 57.97
Convert currency
Shipping: US$ 20.37
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

Stock Image

Alan Mellor
Published by Packt Publishing, 2023
ISBN 10: 180323623X ISBN 13: 9781803236230
Used Softcover

Seller: GreatBookPricesUK, Woodford Green, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: As New. Unread book in perfect condition. Seller Inventory # 45371452

Contact seller

Buy Used

US$ 63.23
Convert currency
Shipping: US$ 20.37
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: Over 20 available

Add to basket

There are 2 more copies of this book

View all search results for this book