Up to now I use this structure:

src/myapp/setup.py
src/myapp/myapp/real_code.py

Now I want to write a test for a method which is implemented real_code.py.

Where should I write store the file which contains the unittest?

Is there a guideline for the directory structure of tests?

I know that there are several ways. I know that all these ways work. 
Nevertheless
it would be great to have a sane default. If there is a guideline IDEs could 
assist
to create new tests at a common location.

Related: https://youtrack.jetbrains.com/issue/JT-53069

Regards,
  Thomas



--
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to