Sunday, June 30, 2013

Sym folders

Folder Structure

Sym
  \sym  : source code
  \test : testing code
  \docs : documentation

On Testing

Also like the idea of Thomas Andrews in [1] to put unit test code in the module itself:
if __name__ == '__main__':
   do tests...

References:

  1. http://guide.python-distribute.org/example.html
  2. http://stackoverflow.com/questions/61151/where-do-the-python-unit-tests-go

No comments:

Post a Comment