Re: Regressions tests: a suggestion

2006-06-20 Thread Adrian Holovaty
On 6/20/06, Michael Radziej <[EMAIL PROTECTED]> wrote: > I have managed to get py.test also run doctests with proper database setup > etc. for > Django for my own testing. py.test walks through all subdirectories to > collect test cases. > Are you interested in this way (i.e., using py.test)? N

Re: Regressions tests: a suggestion

2006-06-20 Thread Michael Radziej
Malcolm Tredinnick wrote: > Because of the way tests are imported in runtests, it is currently not > possible to have a subdirectory of modeltests/ and a subdirectory of > regressiontests/ with the same name (so, for example, I created > regressiontests/one_to_one_regree/ ). If somebody wants to p

Re: Regressions tests: a suggestion

2006-06-19 Thread Malcolm Tredinnick
On Mon, 2006-06-19 at 12:28 -0500, Adrian Holovaty wrote: > On 6/18/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > What I would like to propose is that we create a tests/regression/ > > subdirectory for these slightly more mind-numbing but important tests. > > Same sub-directory structure,

Re: Regressions tests: a suggestion

2006-06-19 Thread Adrian Holovaty
On 6/18/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > What I would like to propose is that we create a tests/regression/ > subdirectory for these slightly more mind-numbing but important tests. > Same sub-directory structure, etc, as the the modeltests/ directory, but > not in any way intend

Re: Regressions tests: a suggestion

2006-06-19 Thread Luke Plant
Malcolm Tredinnick wrote: > What I would like to propose is that we create a tests/regression/ > subdirectory for these slightly more mind-numbing but important tests. > Same sub-directory structure, etc, as the the modeltests/ directory, but > not in any way intended to be examples of good model

Re: Regressions tests: a suggestion

2006-06-18 Thread Michael Radziej
Malcolm Tredinnick wrote: > What I would like to propose is that we create a tests/regression/ > subdirectory for these slightly more mind-numbing but important tests. > Same sub-directory structure, etc, as the the modeltests/ directory, but > not in any way intended to be examples of good model

Regressions tests: a suggestion

2006-06-18 Thread Malcolm Tredinnick
There are a couple of problem I am looking at where it will be nice to put in some regression tests just to ensure they don't reoccur. However, putting them in tests/modeltests/* doesn't seem like the right place, because we are simultaneously using that directory as a source for examples. This tr