summaryrefslogtreecommitdiff
path: root/TDD/using_python_framework_for_tdd
diff options
context:
space:
mode:
authorSrikant2012-01-30 16:12:40 +0530
committerSrikant2012-01-30 16:12:40 +0530
commit35f82333e6e9d6b75c5e3b4b533ecf762a532761 (patch)
treed176b3545f9726e40dc544d4ebe976f8f73cb271 /TDD/using_python_framework_for_tdd
parent6f98a1cd55f2caceb23df50b9307a6a8559535b9 (diff)
downloadsdes-stscripts-35f82333e6e9d6b75c5e3b4b533ecf762a532761.tar.gz
sdes-stscripts-35f82333e6e9d6b75c5e3b4b533ecf762a532761.tar.bz2
sdes-stscripts-35f82333e6e9d6b75c5e3b4b533ecf762a532761.zip
finished till unittest
Diffstat (limited to 'TDD/using_python_framework_for_tdd')
-rwxr-xr-xTDD/using_python_framework_for_tdd/tdd2_script.rst15
1 files changed, 14 insertions, 1 deletions
diff --git a/TDD/using_python_framework_for_tdd/tdd2_script.rst b/TDD/using_python_framework_for_tdd/tdd2_script.rst
index b1fd1ef..f8365f5 100755
--- a/TDD/using_python_framework_for_tdd/tdd2_script.rst
+++ b/TDD/using_python_framework_for_tdd/tdd2_script.rst
@@ -171,8 +171,21 @@ files too.
{{{ Show slide13, unittesting fibonacci.py }}}
+
.. R13
+The function ``setUp`` will read all the test data and store
+it in a list.The next function ``test_fibonacci`` contains
+test code. The last function deletes the data from test_cases
+list and closes ``fibonacci_testcases.dat`` file.
+
+.. L13
+
+{{{ Show slide13(stay for 3 seconds and switch to slide14 }}}
+
+
+.. R23
+
This brings us to the end of the tutorial.In this tutorial,
we have learnt to,
@@ -180,7 +193,7 @@ we have learnt to,
#. Design a Test driven approach for a given ``fibonacci`` function.
-.. L13
+.. L23
{{{ switch to slide-13,Summary }}}