Re: [Django] #20590: Documentation of "test execution order" in 1.6

2013-06-27 Thread Django
#20590: Documentation of "test execution order" in 1.6
-+
 Reporter:  apollo13 |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Documentation|  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+
Changes (by Andrew Godwin ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"e26b589b8cd2c46c0e6af360abaacdb2fb0af27d"]:
 {{{
 #!CommitTicketReference repository=""
 revision="e26b589b8cd2c46c0e6af360abaacdb2fb0af27d"
 Fixed #20590: Documented new test case ordering
 }}}

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.6df289a2b3ac98b6966f5cd64c77f5d1%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20590: Documentation of "test execution order" in 1.6

2013-06-12 Thread Django
#20590: Documentation of "test execution order" in 1.6
-+
 Reporter:  apollo13 |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by aaugustin):

 There's a small perversity here, it isn't the same `TestCase` in the two
 classes:
 - in the old (deprecated) runner, `TestCase` is `unittest.TestCase` (it's
 explicitly spelled like that).
 - in the new runner, `TestCase` is `from django.test import TestCase`.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.f9a56790c7f4084d88c07c0b1ac32166%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20590: Documentation of "test execution order" in 1.6

2013-06-11 Thread Django
#20590: Documentation of "test execution order" in 1.6
-+
 Reporter:  apollo13 |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by carljm):

 It was not intended for discovery to change test case reordering, and
 based on my reading of the code there is no change. In both the old and
 new runners, the call that is made is `reorder_suite(suite, (TestCase,))`.
 The only difference is that in the new runner the value `(TestCase,)` is
 pulled out into a runner class attribute for easier modification by
 subclasses, but the default reordering behavior is the same in both
 runners.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.c52a39d43c4a04d6ca38383ddcc143b0%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #20590: Documentation of "test execution order" in 1.6

2013-06-11 Thread Django
#20590: Documentation of "test execution order" in 1.6
-+
 Reporter:  apollo13 |Owner:  nobody
 Type:  Bug  |   Status:  new
Component:  Documentation|  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+

Comment (by aaugustin):

 Note that the deprecated `DjangoTestSuiteRunner` behaves according to the
 documentation:
 https://github.com/django/django/blob/master/django/test/simple.py#L253.
 This could be an unintended side effect of the new test discovery.

 However, the behavior of the current code is useful for fixing #20579, and
 I'd prefer to keep it if possible at all.

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.e28fb314c39a682affb61f0862d6647a%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[Django] #20590: Documentation of "test execution order" in 1.6

2013-06-11 Thread Django
#20590: Documentation of "test execution order" in 1.6
---+
   Reporter:  apollo13 |  Owner:  nobody
   Type:  Bug  | Status:  new
  Component:  Documentation|Version:  master
   Severity:  Release blocker  |   Keywords:
   Triage Stage:  Accepted |  Has patch:  0
Needs documentation:  0|Needs tests:  0
Patch needs improvement:  0|  Easy pickings:  0
  UI/UX:  0|
---+
 Current docs
 (https://docs.djangoproject.com/en/dev/topics/testing/overview/#order-in-
 which-tests-are-executed) suggest that there is no particular order
 defined in which tests are executed; this is not true according to
 https://github.com/django/django/blob/master/django/test/runner.py#L18
 which reorders the tests to execute ''TestCase'' before
 ''TransactionTestCase''

-- 
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.7759a6fd10e2a3fc6e889438c7a92815%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.