Docs relating to splitting test files

74 views
Skip to first unread message

Cal Leeming [Simplicity Media Ltd]

unread,
May 2, 2014, 2:10:39 PM5/2/14
to django-d...@googlegroups.com
Hello,

Please see the following discussion;

This approach seems to work fine, but doesn't appear to be mentioned anywhere in the Django docs (or at least, I couldn't see it).

Would this be a valid candidate for a docs patch?

Cal

Chris Beaven

unread,
May 2, 2014, 4:52:03 PM5/2/14
to django-d...@googlegroups.com
On Saturday, May 3, 2014 6:10:39 AM UTC+12, Cal Leeming [Simplicity Media Ltd] wrote:
This approach seems to work fine, but doesn't appear to be mentioned anywhere in the Django docs (or at least, I couldn't see it).

Would this be a valid candidate for a docs patch?

Hi Cal,

and there's also the following paragraph about it here: https://docs.djangoproject.com/en/1.6/topics/testing/overview/#writing-tests

When you run your tests, the default behavior of the test utility is to find all the test cases (that is, subclasses of unittest.TestCase) in any file whose name begins with test, automatically build a test suite out of those test cases, and run that suite.

We're assuming knowledge of Python's new standard discovery of tests, but I guess it wouldn't hurt to explain it a bit more explicitly...

Cal Leeming [Simplicity Media Ltd]

unread,
May 3, 2014, 1:18:29 PM5/3/14
to django-d...@googlegroups.com
Thanks for letting me know, my eyes probably glazed over that paragraph, which is my own fault for not reading the docs more carefully XD

Sorry for wasting time

Cal


--
You received this message because you are subscribed to the Google Groups "Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/0d0a6104-f4c7-4e6d-914a-dd0a6ba18c92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages