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
signature.asc
Description: Esta parte del mensaje está firmada digitalmente