#24522: Add --random option to test command to run test cases in random order
-------------------------------+--------------------
     Reporter:  AnSavvides     |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  master
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 Similar in spirit to [https://docs.djangoproject.com/en/dev/ref/django-
 admin/#django-admin-option---reverse --reverse] introduced in 1.8, the
 idea is to add a --random option that will randomise the test run order.
 Grouping by test class would be preserved when using this option.

 I think the idea behind --reverse is great, so I see something like
 --random a way of going a step further to help with debugging test cases
 that are not properly isolated.

 Going a step further - which might be unnecessary, so this is just a minor
 aside - we could even add an option that generates and runs X randomised
 test runs in all possible orders given a set of tests. That way, people
 who are really paranoid can confirm that their tests really pass and order
 genuinely does not matter in any case.

--
Ticket URL: <https://code.djangoproject.com/ticket/24522>
Django <https://code.djangoproject.com/>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.8548d348b2e7a043e5cf53529e5bd3a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to