I must have missed this part, I can now run single tests! Thanks for the pointer Michael.
El sáb, 01-12-2007 a las 16:02 -0500, Empty escribió: > Read this page entirely and it should help: > > http://www.djangoproject.com/documentation/contributing/ > > specifically regarding running a single test see: > > http://www.djangoproject.com/documentation/contributing/#running-the-unit-tests > > Michael Trier > blog.michaeltrier.com > > On Dec 1, 2007 3:53 PM, Marc Fargas <[EMAIL PROTECTED]> wrote: > > Hi people, > > When one "newbie" wants to create a patch with tests for Django (which > > are a requirement for every ticket) he/She can get a bit confused. > > > > Maybe one knows how to write tests for his/her own applications so the > > first thing to try will be something like: > > > > django/<something>/tests.py > > > > this is only valid with ``contrib`` > > (django/contrib/<something>/tests.py) > > > > For the "core" of Django one will go to tests/ and try to figure out how > > to put his/her new test in there. > > > > If the test is a doctest maybe one can handle it (just appending more > > text to the existing doctests!) but figuring how to create a unittest is > > harder (I still haven't found how to add a new unittest!) > > > > Maybe docs/contributing.txt could be a bit more specific on how to add > > new tests to tests/, it only points users to docs/testing.txt but it's > > not "exactly the same". > > > > (More probably I screwed something when trying to add my unittest!). > > > > Also, how can one run specific tests inside tests/ ? > > > > Cheers, > > Marc > > > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this group, send email to django-developers@googlegroups.com > To unsubscribe from this group, send email to [EMAIL PROTECTED] > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en > -~----------~----~----~----~------~----~------~--~--- >
signature.asc
Description: Esta parte del mensaje está firmada digitalmente