Cargando…

TEST-DRIVEN DEVELOPMENT WITH JAVA : create higher -quality software by writing tests first with ... solid and hexagonal architecture.

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

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: MELLOR, ALAN
Formato: Electrónico eBook
Idioma:Inglés
Publicado: [Place of publication not identified] PACKT Publishing Limited, 2023.
Temas:
Acceso en línea:Texto completo (Requiere registro previo con correo institucional)

MARC

LEADER 00000cam a2200000 4500
001 OR_on1357534122
003 OCoLC
005 20231017213018.0
006 m o d
007 cr |||||||||||
008 230120s2023 xx o 000 0 eng d
040 |a YDX  |b eng  |c YDX  |d ORMDA  |d EBLCP  |d UKAHL  |d UKMGB  |d OCLCQ  |d OCLCF  |d N$T  |d IEEEE  |d OCLCQ  |d OCLCO  |d DXU 
015 |a GBC2M9055  |2 bnb 
016 7 |a 020844918  |2 Uk 
019 |a 1363833657  |a 1399172202 
020 |a 1803237961  |q (electronic bk.) 
020 |a 9781803237961  |q (electronic bk.) 
020 |z 9781803236230  |q paperback 
029 1 |a AU@  |b 000073313010 
029 1 |a UKMGB  |b 020844918 
035 |a (OCoLC)1357534122  |z (OCoLC)1363833657  |z (OCoLC)1399172202 
037 |a 9781803236230  |b O'Reilly Media 
037 |a 10162168  |b IEEE 
050 4 |a QA76.73.J38 
082 0 4 |a 005.133  |2 23/eng/20230124 
049 |a UAMI 
100 1 |a MELLOR, ALAN. 
245 1 0 |a TEST-DRIVEN DEVELOPMENT WITH JAVA :  |b create higher -quality software by writing tests first with ... solid and hexagonal architecture. 
260 |a [Place of publication not identified]  |b PACKT Publishing Limited,  |c 2023. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
520 |a 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. 
505 0 |a Cover -- Title Page -- Copyright and Credit -- Dedicated -- Contributors -- Table of Contents -- Preface -- Part 1: How We Got to TDD -- Chapter 1: Building the Case for TDD -- Writing code badly -- Understanding why bad code is written -- Recognizing bad code -- Bad variable names -- Bad function, method, and class names -- Error-prone constructs -- Coupling and cohesion -- Decreasing team performance -- Diminishing business outcomes -- Summary -- Questions and answers -- Further reading -- Chapter 2: Using TDD to Create Good Code -- Designing good quality code 
505 8 |a Say what you mean, mean what you say -- Take care of the details in private -- Avoid accidental complexity -- Revealing design flaws -- Analyzing the benefits of writing tests before production code -- Preventing logic flaws -- Protecting against future defects -- Documenting our code -- Summary -- Questions and answers -- Further reading -- Chapter 3: Dispelling Common Myths about TDD -- Writing tests slows me down -- Understanding the benefits of slowing down -- Overcoming objections to tests slowing us down -- Tests cannot prevent every bug 
505 8 |a Understanding why people say tests cannot catch every bug -- Overcoming objections to not catching every bug -- How do you know the tests are right? -- Understanding the concerns behind writing broken tests -- Providing reassurance that we test our tests -- TDD guarantees good code -- Understanding problem-inflated expectations -- Managing your expectations of TDD -- Our code is too complex to test -- Understanding the causes of untestable code -- Reframing the relationship between good design and simple tests -- Managing legacy code without tests 
505 8 |a I don't know what to test until I write the code -- Understanding the difficulty of starting with testing -- Overcoming the need to write production code first -- Summary -- Questions and answers -- Further reading -- Part 2: TDD Techniques -- Chapter 4: Building an Application Using TDD -- Technical requirements -- Preparing our development environment -- Installing the IntelliJ IDE -- Setting up the Java project and libraries -- Introducing the Wordz application -- Describing the rules of Wordz -- Exploring agile methods -- Reading user stories -- the building block of planning 
505 8 |a Combining agile development with TDD -- Summary -- Questions and answers -- Further reading -- Chapter 5: Writing Our First Test -- Technical requirements -- Starting TDD: Arrange-Act-Assert -- Defining the test structure -- Working backward from outcomes -- Increasing workflow efficiency -- Defining a good test -- Applying the FIRST principles -- Using one assert per test -- Deciding on the scope of a unit test -- Catching common errors -- Asserting exceptions -- Only testing public methods -- Preserving encapsulation -- Learning from our tests -- A messy Arrange step -- A messy Act step 
590 |a O'Reilly  |b O'Reilly Online Learning: Academic/Public Library Edition 
650 0 |a Java (Computer program language) 
650 0 |a Computer software  |x Development. 
650 0 |a Computer software  |x Testing. 
650 6 |a Java (Langage de programmation) 
650 7 |a Computer software  |x Development  |2 fast 
650 7 |a Computer software  |x Testing  |2 fast 
650 7 |a Java (Computer program language)  |2 fast 
655 0 |a Electronic books. 
776 0 8 |i Print version:  |z 9781803236230 
856 4 0 |u https://learning.oreilly.com/library/view/~/9781803236230/?ar  |z Texto completo (Requiere registro previo con correo institucional) 
936 |a BATCHLOAD 
938 |a ProQuest Ebook Central  |b EBLB  |n EBL30325608 
938 |a YBP Library Services  |b YANK  |n 304087069 
938 |a Askews and Holts Library Services  |b ASKH  |n AH40988834 
938 |a EBSCOhost  |b EBSC  |n 3519861 
994 |a 92  |b IZTAP