Re: Test runner with search

2012-06-18 Thread Anssi Kääriäinen
On 18 kesä, 12:23, Chris Wilson wrote: > > I guess this should work by giving a message like this on test name > > clash: "ERROR: Multiple tests found: ". The > > user could then copy-paste the correct test and run the test by full > > identifier. > > I might deliberately want

Re: Test runner with search

2012-06-18 Thread Chris Wilson
Hi all, On Mon, 18 Jun 2012, Anssi Kääriäinen wrote: > On 16 kesä, 09:29, Russell Keith-Magee > > > > Well, sure -- easier is better -- but is this actually going to be > > easier? Are you saying that you've never written two test classes with > > the same test name? I

Re: Test runner with search

2012-06-18 Thread Anssi Kääriäinen
On 16 kesä, 09:29, Russell Keith-Magee wrote: > On Thu, Jun 14, 2012 at 6:51 PM, Anssi Kääriäinen > > wrote: > > On 14 kesä, 13:35, Chris Wilson wrote: > >> I've made some improvements (in my view) to the

Re: Test runner with search

2012-06-16 Thread Jannis Leidel
On 16.06.2012, at 08:29, Russell Keith-Magee wrote: > On Thu, Jun 14, 2012 at 6:51 PM, Anssi Kääriäinen > wrote: >> On 14 kesä, 13:35, Chris Wilson wrote: >> >> A big +1 to easier running of single tests. I haven't checked

Re: Test runner with search

2012-06-16 Thread Russell Keith-Magee
On Thu, Jun 14, 2012 at 6:51 PM, Anssi Kääriäinen wrote: > On 14 kesä, 13:35, Chris Wilson wrote: >> I've made some improvements (in my view) to the DjangoTestSuiteRunner. I >> got tired of having to remember my test class names and of typing so much:

Re: Test runner with search

2012-06-14 Thread Carl Meyer
On 06/14/2012 07:25 AM, Jannis Leidel wrote: > On 14.06.2012, at 12:35, Chris Wilson wrote: >> Hi all, >> >> I've made some improvements (in my view) to the >> DjangoTestSuiteRunner. I got tired of having to remember my test >> class names and of typing so much: >> >> ./manage.py test

Re: Test runner with search

2012-06-14 Thread Daniel Moisset
On Thu, Jun 14, 2012 at 7:35 AM, Chris Wilson wrote: > Hi all, > > I've made some improvements (in my view) to the DjangoTestSuiteRunner. I > got tired of having to remember my test class names and of typing so much: > >  ./manage.py test

Re: Test runner with search

2012-06-14 Thread Chris Wilson
Hi Andrew, On Thu, 14 Jun 2012, Andrew Godwin wrote: > +1 from me as well - the test runner you linked to looks reasonably > sane, only a few small things that I'm questioning (like why types is > imported inside the for loop). I prefer to keep the imports as close to the code that uses them

Re: Test runner with search

2012-06-14 Thread Jannis Leidel
On 14.06.2012, at 12:35, Chris Wilson wrote: > Hi all, > > I've made some improvements (in my view) to the DjangoTestSuiteRunner. I > got tired of having to remember my test class names and of typing so much: > > ./manage.py test binder.BinderTest.test_can_create_users > > This new version

Re: Test runner with search

2012-06-14 Thread Andrew Godwin
On 14/06/12 11:51, Anssi Kääriäinen wrote: > On 14 kesä, 13:35, Chris Wilson wrote: >> I've made some improvements (in my view) to the DjangoTestSuiteRunner. I >> got tired of having to remember my test class names and of typing so much: >> >> ./manage.py test

Re: Test runner with search

2012-06-14 Thread Anssi Kääriäinen
On 14 kesä, 13:35, Chris Wilson wrote: > I've made some improvements (in my view) to the DjangoTestSuiteRunner. I > got tired of having to remember my test class names and of typing so much: > >   ./manage.py test binder.BinderTest.test_can_create_users > > This new version