|
Demystifying Extreme Programming: Test-driven programming
|
Last Update 2008/4/17 10:32
|
Category
Programming
Java
:
Software Testing and Quality Assurance
Software Testing
Unit Testing
:
Approaches, Process, Methods
Agile
Test Driven Development
:
Approaches, Process, Methods
Agile
Extreme Programming (XP)
|
Description
Test-driven programming is one aspect of XP that baffles programmers. Many of us make incorrect assumptions about what it means and how to do it. This month, XP coach and Java developer Roy Miller talks about what test-driven programming is about, why it can revolutionize your productivity and quality as a programmer, and the mechanics of writing tests. For the last fifty years, testing has been viewed as something that gets done toward the end of a project. Sure, there may be integration testing while the project is going on, and testing doesn't usually start after all the coding is done, but it's usually in a later phase. However, proponents of XP suggest that this model is completely backwards. As a programmer, you should write tests before you write code, then write just enough code to get the tests to pass. Doing that will help you keep your system as simple as possible.
|
Hits: 75
|
|
|
|