- echo
- date
- sleep
- mkdir
- grep
- find
- cp
- tail
- cat
- ls
- md5
- ps
- gzip / gunzip
- tar
- telnet
- diff
- curl / wget
- White male between 20 and 40
- Has some experience programming in python
- No/Little experience in writing unit tests
- Finds it hard to write good tests
- Has heard about TDD, would like to learn more about it
- Ask them to submit unit tests to github
- Group activities :
- Concept map on what is TDD
- Find test names in pairs
-
TDD Cycle
-
Write a failing test
-
Make it pass
-
Refactor
-
the py.test library
-
setUp / tearDown
-
def test_
-
project/directory structure
-
running the tests
-
nose ?
-
sniffer ?
-
tox ?
-
TDD Pairing
-
Ping / pong
-
Make test pass / Write failing test
- Prerequisites
- Introductions
- Objectives
- Ask experience level
- Horror story
- Environment setup
- virtualenv
- pip install requirements.txt
- py.test
- TDD Demonstration
- TODO: Find simple use case for demonstration
- running tests
- First sprint
- test scenario : cat
- Review
- Second sprint
- test scenario : date
- Review
- Third sprint
- test scenario : ls
- Review
- Fourth sprint
- test scenario : grep