[Tutor] Where should unit test files go in a project directory structure and some related questions?
Alex Kleider
akleider at sonic.net
Mon Aug 17 00:09:04 CEST 2015
On 2015-08-16 12:45, Laura Creighton wrote:
> We have a new mechanism for test discovery in 2.7 and 3.x
> https://docs.python.org/3/library/unittest.html
> see 26.3.3
>
> It's been backported.
> see: https://pypi.python.org/pypi/unittest2
>
> Also, if you are on Python2 and you put your tests in a test
> subdirectory
> you need to remember to make an __init__.py file there.
>
> Laura
I've got it working.
Thanks, Laura.
More information about the Tutor
mailing list