Re: Fixture? Testing? how do you do it?

2008-04-03 Thread yml
As far as I can remember the file containing the tests should be called : "tests.py" --yml On Apr 2, 9:01 pm, Tony <[EMAIL PROTECTED]> wrote: > Ah, that makes it alot clearer. > > I've had a go at it but I can't seem to get it to run my test.py file. > Any reason why that might be? > > Thanks for

Re: Fixture? Testing? how do you do it?

2008-04-02 Thread Tony
Ah, that makes it alot clearer. I've had a go at it but I can't seem to get it to run my test.py file. Any reason why that might be? Thanks for your help. On Apr 1, 6:17 pm, Prairie Dogg <[EMAIL PROTECTED]> wrote: > I just did this for the first time last night, although I definitely > don't >

Re: Fixture? Testing? how do you do it?

2008-04-01 Thread Prairie Dogg
I just did this for the first time last night, although I definitely don't know how to write good tests, at least I wrote some tests. First thing you'll wanna check out if you haven't is: http://www.djangoproject.com/documentation/testing/ But I assume you have, so I'll just get on to the fixtu

Fixture? Testing? how do you do it?

2008-04-01 Thread Tony
I am relatively new to Django, and I am having trouble getting my head around fixtures. The Django documentation just assumes that you should know what a test fixture is and how to write one. I understand that fixtures are just test data, but how is one written? Any guidance/examples on this wo