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

Test-Driven Development - By Example

Paperback Engels 2003 9780321146533
Verkooppositie 8628
Verwachte levertijd ongeveer 7 werkdagen

Samenvatting

Clean code that works- now. This is the seeming contradiction that lies behind much of the pain of programming. Test-driven development replies to this contradiction with a paradox- test the program before you write it.

A new idea? Not at all. Since the dawn of computing, programmers have been specifying the inputs and outputs before programming precisely. Test-driven development takes this age-old idea, mixes it with modern languages and programming environments, and cooks up a tasty stew guaranteed to satisfy your appetite for clean code that works--now.

Developers face complex programming challenges every day, yet they are not always readily prepared to determine the best solution. More often than not, such difficult projects generate a great deal of stress and bad code. To garner the strength and courage needed to surmount seemingly Herculean tasks, programmers should look to test-driven development (TDD), a proven set of techniques that encourage simple designs and test suites that inspire confidence.

By driving development with automated tests and then eliminating duplication, any developer can write reliable, bug-free code no matter what its level of complexity. Moreover, TDD encourages programmers to learn quickly, communicate more clearly, and seek out constructive feedback.

Readers will learn to:
- Solve complicated tasks, beginning with the simple and proceeding to the more complex.
- Write automated tests before coding.
- Grow a design organically by refactoring to add design decisions one at a time.
- Create tests for more complicated logic, including reflection and exceptions.
- Use patterns to decide what tests to write.
- Create tests using xUnit, the architecture at the heart of many programmer-oriented testing tools.

This book follows two TDD projects from start to finish, illustrating techniques programmers can use to easily and dramatically increase the quality of their work. The examples are followed by references to the featured TDD patterns and refactorings. With its emphasis on agile methods and fast development strategies, Test-Driven Development is sure to inspire readers to embrace these under-utilized but powerful techniques.

Specificaties

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

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Geef uw waardering

Zeer goed Goed Voldoende Matig Slecht

Inhoudsopgave

Preface.
Acknowledgments.
1. Story Time.

I. THE MONEY EXAMPLE.
2. Money Example.
3. Degenerate Objects.
4. Equality for All.
5. Privacy.
6. Franc-ly Speaking.
7. Equality for All, Redux.
8. Apples and Oranges.
9. Makin' Objects.
10. Times We're Livin' In.
11. Interesting Times.
12. The Root of all Evil.
13. Addition, Finally.
14. Make It.
15. Change.
16. Mixed Currencies.
17. Abstraction, Finally.
18. Money Retrospective.

II. THE XUNIT EXAMPLE.
19. Set the Table.
20. Cleaning Up After.
21. Counting.
22. Dealing with Failure.
23. How Suite It Is.
24. xUnit Retrospective. Part III. Patterns for Test-Driven Development.
25. Test-Driven Development Patterns.
26. Red Bar Patterns.
27. Testing Patterns.
28. Green Bar Patterns.
29. xUnit Patterns.
30. Design Patterns.
31. Refactoring.
32. Mastering TDD.

Appendix 1: Glossary.
Appendix 2: Influence Diagrams.
Appendix 3: Fibonacci.

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Test-Driven Development - By Example