Re: testing django applications

2010-11-18 Thread roberto
What if you add a __init__.py inside AAA directory and in your abc/ tests.py you include "from projectXXX.AAA.xyz import class_to_test" plus all the test code you want for testing it ? Good luck! Roberto On Nov 18, 12:05 pm, girish shabadimath wrote: > I will try out that ,, > > > > > > > > > >

Re: testing django applications

2010-11-18 Thread girish shabadimath
I will try out that ,, On Thu, Nov 18, 2010 at 6:47 PM, xvga wrote: > I guess one way would be to put xyz.py in own app. Remember though to > have models.py(empty is fine too) in the app dir > > On Nov 18, 2:27 pm, girish shabadimath > wrote: > > Thanks for the reply, > > but according to the

Re: testing django applications

2010-11-18 Thread xvga
I guess one way would be to put xyz.py in own app. Remember though to have models.py(empty is fine too) in the app dir On Nov 18, 2:27 pm, girish shabadimath wrote: > Thanks for the reply, > but according to the django > documentationhttp://docs.djangoproject.com/en/1.2/topics/testing/#writing-

Re: testing django applications

2010-11-18 Thread girish shabadimath
Thanks for the reply, but according to the django documentation http://docs.djangoproject.com/en/1.2/topics/testing/#writing-unit-tests test runner looks for tests only in models.py or tests.py of a specific application,,but

Re: testing django applications

2010-11-18 Thread xvga
Hi Girish, why don't you put tests.py in the same dir where xyz.py is? On Nov 18, 11:52 am, girish shabadimath wrote: > Hi all, > > im working on a django project XXX, > > the directory structure is as follows: > > - project XXX >       -abc >          models.py >          views.py >          t

Re: Testing Django applications

2009-12-15 Thread Jonas Obrist
HB wrote: > Hey, > Grails framework offers a huge set of tools to facilitate testing > (unit and integration) > I heard the same thing is true for Rails > Does Django offers the same thing? > Thanks. > > -- > > You received this message because you are subscribed to the Google Groups > "Django use