Add a section on real life tests.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Wed, 14 Jul 2010 00:19:54 +0530
changeset 109 0afd25eadf41
parent 108 d90e054894cd
child 110 4e7b98636b58
Add a section on real life tests.
tdd/tdd.rst
--- a/tdd/tdd.rst	Tue Aug 31 19:10:09 2010 +0530
+++ b/tdd/tdd.rst	Wed Jul 14 00:19:54 2010 +0530
@@ -6,8 +6,8 @@
 code that doesn't even exist yet. The actual code is written later to pass
 the test and then refactored.
 
-Writing tests
-=============
+First "Test"
+============
 
 Writing a test is simple. Writing a failing test? It is much more simple.
 Let us consider a very simple program which returns the Greatest Common
@@ -76,3 +76,9 @@
       exit(1)
 
   print "All tests passed!"
+
+More realistic "Tests"
+======================
+
+Now we have completed writing our first test. Let us start writing tests
+for more realistic