It is preferable to sprinkle tests files throughout the directories of a
project, or coalesce all tests in a test directory?
Thanks!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/li
On 3/6/19 3:17 PM, James Hartley wrote:
> It is preferable to sprinkle tests files throughout the directories of a
> project, or coalesce all tests in a test directory?
"It depends".
There are people who have strong opinions.
If you're going to use conventions like naming the test for the
functi
On 06/03/2019 22:38, Mats Wichmann wrote:
> "It depends".
...
> How's that for a definitive answer? :)
Pretty good! and I agree with all of it :-)
Although personally I always use a test subdirectory
and then, for building a distributable, use a file
filter (eg find in *nix) to prune those out
On 06Mar2019 23:41, Alan Gauld wrote:
On 06/03/2019 22:38, Mats Wichmann wrote:
"It depends".
...
How's that for a definitive answer? :)
Pretty good! and I agree with all of it :-)
Although personally I always use a test subdirectory
and then, for building a distributable, use a file
fil