#24522: Add --random option to test command to run test cases in random order
----------------------------------+--------------------------------------
     Reporter:  Andreas Savvides  |                    Owner:  nobody
         Type:  Uncategorized     |                   Status:  closed
    Component:  Uncategorized     |                  Version:  master
     Severity:  Normal            |               Resolution:  wontfix
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------

Comment (by Dan Palmer):

 For what it's worth, I don't think this needs writing to disk.

 I propose that with `--random` Django generates a random seed and prints
 it out at the beginning of the test run. This will likely be stored in
 shell scrollback, or on disk/in a database if running tests in a CI
 environment. From there, tests could be re-run with a given seed with
 `--random-seed=XXXXX`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/24522#comment:3>
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 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/068.840b4f65dd000c72f78e77de624cd812%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to