|
From: Stefan P. <pa...@ik...> - 2011-01-05 16:38:39
|
Hi, I was requested to include tests together with any patches I might make. After looking at the included tests I have to say that I'm a bit confused as to where and how the tests should be included. It seems like there are some doctests in the main source files, configobj.py and validate.py. Mostly similar, yet different tests can be found in test_configobj.py. Yet more tests can be found in the functionaltests subdirectory. Currently some tests are failing on Python 2.7 due to how the tests are written. Instead of fixing the same doctest bugs in 2 or 3 different places, would it be better to take some time and consolidate all the different tests in one place? Where should the test be stored? Personally I prefer to store tests outside the main source code because I find it cleaner, but others might disagree. -- Stefan Parviainen |