Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20
,

Growing Object-Oriented Software, Guided by Tests

Paperback Engels 2010 9780321503626
Verkooppositie 3527Hoogste positie: 3527
Verwachte levertijd ongeveer 11 werkdagen

Samenvatting

Test-Driven Development (TDD) is now an established technique for delivering better software faster. TDD is based on a simple idea: Write tests for your code before you write the code itself. However, this "simple" idea takes skill and judgment to do well. Now there's a practical guide to TDD that takes you beyond the basic concepts. Drawing on a decade of experience building real-world systems, two TDD pioneers show how to let tests guide your development and "grow" software that is coherent, reliable, and maintainable.

Steve Freeman and Nat Pryce describe the processes they use, the design principles they strive to achieve, and some of the tools that help them get the job done. Through an extended worked example, you'll learn how TDD works at multiple levels, using tests to drive the features and the object-oriented structure of the code, and using Mock Objects to discover and then describe relationships between objects. Along the way, the book systematically addresses challenges that development teams encounter with TDD-from integrating TDD into your processes to testing your most difficult features. Coverage includes

- Implementing TDD effectively: getting started, and maintaining your momentum throughout the project
- Creating cleaner, more expressive, more sustainable code
- Using tests to stay relentlessly focused on sustaining quality
- Understanding how TDD, Mock Objects, and Object-Oriented Design come together in the context of a real software development project
- Using Mock Objects to guide object-oriented designs
- Succeeding where TDD is difficult: managing complex test data,and testing Persistence and concurrency

Specificaties

ISBN13:9780321503626
Taal:Engels
Bindwijze:paperback
Aantal pagina's:358
Druk:1
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Steve Freeman

Steve Freeman is an independent consultant specialising in the Agile delivery of software. A pioneer of Agile software development in the UK, he has built applications for banks, ISPs, financial data providers, and specialist software companies. He has given training courses in Europe, America, and Asia. Previously, he worked in research labs, software houses, earned a PhD, and wrote shrink-wrap software. Steve has also taught at University College London. He is a presenter and organizer at international industry conferences and was conference chair for the first London XpDay. Steve is a developer of the jMock and nMock libraries.

Andere boeken door Steve Freeman

Over Nat Pryce

Nat Pryce (UK) is an independent consultant with expertise in software design and software development process and practices. He is also a research fellow at Imperial College. Nat is a developer of the jMock and nMock libraries for testdriven development.

Andere boeken door Nat Pryce

Inhoudsopgave

Foreword
Preface
Acknowledgments
About the Authors

PART 1: INTRODUCTION
1. What Is the Point of Test-Driven Development?
2. Test-Driven Development with Objects
3. An Introduction to the Tools

PART 2: THE PROCESS OF TEST-DRIVEN DEVELOPMENT
4. Kick-Starting the Test-Driven Cycle
5. Maintaining the Test-Driven Cycle
6. Object-Oriented Style
7. Achieving Object-Oriented Design
8. Building on Third-Party Code

PART 3: A WORKED EXAMPLE
9. Commissioning an Auction Sniper
10. The Walking Skeleton
11. Passing the First Test
12. Getting Ready to Bid
13. The Sniper Makes a Bid
14. The Sniper Wins the Auction
15. Towards a Real User Interface
16. Sniping for Multiple Items
17. Teasing Apart Main
18. Filling In the Details
19. Handling Failure

PART 4: SUSTAINABLE TEST-DRIVEN DEVELOPMENT
20. Listening to the Tests
21. Test Readability
22. Constructing Complex Test Data
23. Test Diagnostics
24. Test Flexibility

PART 5: ADVANCED TOPICS
25. Testing Persistence
26. Unit Testing and Threads
27. Testing Asynchronous Code

Afterword: A Brief History of Mock Objects

Appendix A: jMock2 Cheat Sheet
Appendix B: Writing a Hamcrest Matcher

Bibliography
Index

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Growing Object-Oriented Software, Guided by Tests