Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering 30 dages retur

Test-Driven Development with Java

Bog
  • Format
  • Bog, paperback
  • Engelsk
  • 348 sider

Normalpris

kr. 499,95

Medlemspris

kr. 454,95
  • Du sparer kr. 45,00
  • Fri fragt
Som medlem af Saxo Premium 20 timer køber du til medlemspris, får fri fragt og 20 timers streaming/md. i Saxo-appen. De første 7 dage er gratis for nye medlemmer, derefter koster det 99,-/md. og kan altid opsiges. Løbende medlemskab, der forudsætter betaling med kreditkort. Fortrydelsesret i medfør af Forbrugeraftaleloven. Mindstepris 0 kr. Læs mere

Beskrivelse

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 practicesLearn to apply the rhythms of TDD - arrange, act, assert and red, green, refactorUnderstand 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 JavaExplore how TDD can be incorporated into crafting softwareFind out how to write reusable and robust code in JavaUncover common myths about TDD and understand its effectivenessUnderstand the accurate rhythm of implementing TDDGet 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.

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal348
  • Udgivelsesdato13-01-2023
  • ISBN139781803236230
  • Forlag Packt Publishing
  • MålgruppeFrom age 0
  • FormatPaperback
  • Udgave1
Størrelse og vægt
  • Vægt651 g
  • Dybde1,9 cm
  • coffee cup img
    10 cm
    book img
    19,1 cm
    23,5 cm

    Anmeldelser

    Vær den første!

    Log ind for at skrive en anmeldelse.

    Findes i disse kategorier...