Dear Reader,
I'm writing some modules in Python, and I'm also using unittests. I'm
wondering about some things:
1) Should I put my unittests in a subdirectory? Does the subdirectory
have to be a package?
2) Does the main folder /myproject have to be a package? Should I put
my modules directly under /myproject, or should I create a subfolder,
for example /myproject/modules
Does anyone have any "best practices" as to how to manage your code?
Thanks!
I'm writing some modules in Python, and I'm also using unittests. I'm
wondering about some things:
1) Should I put my unittests in a subdirectory? Does the subdirectory
have to be a package?
2) Does the main folder /myproject have to be a package? Should I put
my modules directly under /myproject, or should I create a subfolder,
for example /myproject/modules
Does anyone have any "best practices" as to how to manage your code?
Thanks!
Comment