Difference between revisions of "NA-MIC-kit-curriculum/Testing-Based Programming"

From NAMIC Wiki
Jump to: navigation, search
(Created page with '= Introduction = '''Testing-Based Programming''' is an software development methodology that relies on continuous and exhaustive testing as a scaffolding for facilitating rapid …')
 
Line 5: Line 5:
 
The principle is very simple:
 
The principle is very simple:
  
    If you have an extensive test-suite that exercises all the capabilities of your software, you can make both swift and large scale changes to the code, and rely on the testing-suite to reveal immediately if any bug has been introduced by the changes.
 
  
    In the absence of a testing-suite, every change in the code has the potential of introducing new defects that will go unnoticed for a long time.
+
 
 +
:    ''If you have an extensive test-suite that exercises all the capabilities of your software, you can make both swift and large scale changes to the code, and rely on the testing-suite to reveal immediately if any bug has been introduced by the changes.''
 +
 
 +
 
 +
 
 +
:    ''In the absence of a testing-suite, every change in the code has the potential of introducing new defects that will go unnoticed for a long time.''

Revision as of 14:08, 11 December 2009

Home < NA-MIC-kit-curriculum < Testing-Based Programming

Introduction

Testing-Based Programming is an software development methodology that relies on continuous and exhaustive testing as a scaffolding for facilitating rapid development.

The principle is very simple:


If you have an extensive test-suite that exercises all the capabilities of your software, you can make both swift and large scale changes to the code, and rely on the testing-suite to reveal immediately if any bug has been introduced by the changes.


In the absence of a testing-suite, every change in the code has the potential of introducing new defects that will go unnoticed for a long time.