Differences between revisions 1 and 2
Revision 1 as of 2010-09-07 14:19:11
Size: 557
Editor: madhusudancs
Comment:
Revision 2 as of 2010-09-07 16:11:54
Size: 1470
Editor: madhusudancs
Comment:
Deletions are marked like this. Additions are marked like this.
Line 13: Line 13:
|| - Implementing the actual algorithm || - Replacing the stub with code || 10 mins ||
|| - Refactoring the code || 10 mins ||
Line 15: Line 16:
|| || || || '''First Test - contd ...''' || 15 mins ||
|| - More refactoring || 10 mins ||
|| - Importance of docstrings || 5 mins ||
|| '''Persistently stored test cases''' || 30mins ||
|| - Types of persistent storage and use || 5 mins ||
|| - Structure of the test data || 5 mins ||
|| - Machinery required || 5 mins ||
|| - Writing the tests || 15 mins ||
|| '''Frameworks''' || 10 mins ||
|| - Introduction to doctest || 10 mins ||
Line 17: Line 27:
|| || ||
|| Buffer || 5min ||
|| || ||
|| Buffer || 5min ||
|| '''Frameworks''' || 55 mins ||
|| - doctests structure || 10 mins ||
|| - Obtaining test cases || 10 mins ||
|| - Invoking doctests || 5 mins ||
|| - Test reports || 15 mins ||
|| - unittest introduction || 10 mins ||
|| Buffer || 10 mins ||
|| '''Frameworks''' || 25 mins ||
|| - Boiler plate for unittest || 10 mins ||
|| - Naming conventions || 5 mins ||
|| - Test methods || 10 mins ||
|| '''Nose''' || 10 mins ||
|| '''Conclusion''' || 10 mins ||
|| Buffer and QA|| 15 mins ||

Test Driven Development Session Plan & Outline

1 Session Plan with Time

Session Details

Time

Fundamentals

5 mins

First Test

50 mins

- Writing stub functions

10 mins

- How to use if __name__ == '__main__':

5 mins

- Writing tests that fail

15 mins

- Replacing the stub with code

10 mins

- Refactoring the code

10 mins

- Buffer

5min

First Test - contd ...

15 mins

- More refactoring

10 mins

- Importance of docstrings

5 mins

Persistently stored test cases

30mins

- Types of persistent storage and use

5 mins

- Structure of the test data

5 mins

- Machinery required

5 mins

- Writing the tests

15 mins

Frameworks

10 mins

- Introduction to doctest

10 mins

Buffer

5min

Frameworks

55 mins

- doctests structure

10 mins

- Obtaining test cases

10 mins

- Invoking doctests

5 mins

- Test reports

15 mins

- unittest introduction

10 mins

Buffer

10 mins

Frameworks

25 mins

- Boiler plate for unittest

10 mins

- Naming conventions

5 mins

- Test methods

10 mins

Nose

10 mins

Conclusion

10 mins

Buffer and QA

15 mins

2 Outline

TDD (last edited 2010-09-07 16:11:54 by madhusudancs)