Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-07-03 Thread Russell Keith-Magee
On Wed, Jul 1, 2009 at 7:01 PM, Kevin Kubasik wrote: > > > On Mon, Jun 29, 2009 at 10:20 AM, Russell Keith-Magee > wrote: >> >> On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: >> > Should windmill tests default to non-isolated/non-transactional DB >> > behavior? >> > Basically, we are provi

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-07-01 Thread Kevin Kubasik
On Mon, Jun 29, 2009 at 10:20 AM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > > On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: > > Should windmill tests default to non-isolated/non-transactional DB > behavior? > > Basically, we are providing the means for functional tests, these

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-29 Thread Ned Batchelder
I'm really pleased to see coverage.py being used this way, thanks for doing the work. But I would strongly recommend starting coverage before importing the modules to avoid this effect of module-level statements not being measured. You can add exclude regexes to mitigate the problem, but it's

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-29 Thread Alex Gaynor
On Mon, Jun 29, 2009 at 11:20 AM, Russell Keith-Magee < freakboy3...@gmail.com> wrote: > > On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: > > Should windmill tests default to non-isolated/non-transactional DB > behavior? > > Basically, we are providing the means for functional tests, these

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-29 Thread Russell Keith-Magee
On Sat, Jun 27, 2009 at 2:22 PM, Kevin Kubasik wrote: > Should windmill tests default to non-isolated/non-transactional DB behavior? > Basically, we are providing the means for functional tests, these should be > tests like 'Register and Complete a Profile', then 'Edit Profile'. We don't > want th

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-27 Thread Ben Ford
Hi Kevin, I haven't had a chance to really read and digest this - but yu might want to check out fixture http://farmdev.com/projects/fixture/ and the django support branch for it http://bitbucket.org/kumar303/fixture/ for loading fixtures for tests. Fixture might give you more options for loading

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-27 Thread Kevin Kubasik
It's statement coverage, so it largely depends on what is called, and how. http://nedbatchelder.com/code/coverage/faq.html The above explains why we get that effect. the problem is that we don't want to start it much earlier, since we are doing identification of apps. It's never perfect, but its m

Re: [gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-26 Thread Alex Gaynor
On Sat, Jun 27, 2009 at 1:22 AM, Kevin Kubasik wrote: > So, up until now, most of the work on windmill hasn't exactly been 'tester > ready' in that, if you didn't you my exact incantation of settings, luck, > module versions and love, you didn't get very far. While I still haven't > gotten real d

[gsoc2009-testing] Windmill Runners Kicking it up a Notch

2009-06-26 Thread Kevin Kubasik
So, up until now, most of the work on windmill hasn't exactly been 'tester ready' in that, if you didn't you my exact incantation of settings, luck, module versions and love, you didn't get very far. While I still haven't gotten real docs done (my original plan for the week) I have learned a valuab