Re: organizing python code with tests

2008-08-15 Thread Alex Marandon
eliben wrote: Hello, At the moment, I place all the code of my project in a src/ directory, and all the tests in a sibling tests/ directory, so for instance a sample project can look like this: doc/ ... src/ play.py write.py tests/ test_play.py test_write.py While this works fine, I

organizing python code with tests

2008-08-14 Thread eliben
Hello, At the moment, I place all the code of my project in a src/ directory, and all the tests in a sibling tests/ directory, so for instance a sample project can look like this: doc/ ... src/ play.py write.py tests/ test_play.py test_write.py While this works fine, I have a couple of