Test-driven development : by example
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. xix, 220 pages : 24 cm "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."--Jacket Includes bibliographical references and index
physical copy
More Books
100 Game Design Tips And Tricks
My name is Wlad Marhulets, and I’m the developer of DARQ - an award-winning game. I wanted to share with you some tips & tricks about game design I’ve learned over the years while working on my first game (which t...
Byte Magazine Volume 05 Number 01 - Domesticated Computers
Foreground
p.28 COMPUTERIZE A HOME
[author Steve Ciarcia]
Controlling appliances in your home is one of the many chores that may be delegated to a personal computer. One product that is readily available is the Sears ...
Software and Mind
Addressing general readers as well as software practitioners, Software and Mind discusses the fallacies of the mechanistic ideology and the degradation of minds caused by these fallacies. Mechanism holds that every as...
Troubleshooting microprocessors & digital logic
Tandy/Radio Shack Book: Troubleshooting Microprocessors and Digital Logic (1980)(Tab Books) Includes index
PCMania 40
PCManiÂa was a long-lived Spanish computer magazine. Unlike other magazines at the time, they covered a vast number of fields related to PCs such as gaming, technology previews, programming tutorials, etc. They also ...
The code book : the science of secrecy from ancient Egypt to quantum cryptography
Includes index Cipher of Mary Queen of Scots -- Le Chiffre indechiffrable -- Mechanization of secrecy -- Cracking the enigma -- Language barrier -- Alice and Bob go public -- Pretty good privacy -- Quantum leap into t...