Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-04-25 Thread Django
#24522: Add --random option to test command to run test cases in random order
-+-
 Reporter:  Andreas Savvides |Owner:  Chris
 |  Jerdonek
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Chris Jerdonek):

 * needs_better_patch:  1 => 0


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.6db625e837c1093c4984bd625bb15066%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-04-23 Thread Django
#24522: Add --random option to test command to run test cases in random order
-+-
 Reporter:  Andreas Savvides |Owner:  Chris
 |  Jerdonek
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * owner:  nobody => Chris Jerdonek
 * needs_better_patch:  0 => 1
 * status:  new => assigned


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.e73260c061aa54dfe98a38f09c61d6d8%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-16 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  dev
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Adam Johnson):

 `--shuffle` sounds good to me.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.0c07be9f51144b66f3cb1750048b6fd4%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-16 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  dev
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Chris Jerdonek):

 By the way, while working on the PR, I realized that we could name the
 option `--shuffle` instead of `--random`. I felt `--shuffle` was more
 specific and self-descriptive, whereas `--random` can be used in broader
 contexts (e.g. altering random data in tests themselves). So if we have
 the opportunity to be more specific in naming, I thought we should take
 it.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.3d6ff8d10aa7833dcf72f35a1d522124%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-16 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  dev
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Mariusz Felisiak):

 * stage:  Unreviewed => Accepted


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.920ab07bce51e95cc969409a4e91e81e%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-16 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  dev
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Chris Jerdonek):

 * status:  closed => new
 * has_patch:  0 => 1
 * resolution:  wontfix =>


Comment:

 I'm reopening the ticket based on the mailing list discussion (a number of
 people replied in support).

 I also posted a PR here: https://github.com/django/django/pull/14137

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.96d1bc5848a6ec0fd7d2278773d37d61%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-10 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  dev
 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
---+--
Changes (by Adam Johnson):

 * cc: Adam Johnson (added)


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.e841cd77ee3ea675d4e70f6962d9aadc%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-10 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  dev
 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 Chris Jerdonek):

 I just posted a message to the developers' list asking if this ticket
 could be reopened: https://groups.google.com/g/django-
 developers/c/68LZwTr2vpI/m/m3wlER5rAAAJ

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.58e815fa73093c6ad74471383082999f%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-03-06 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  dev
 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
---+--
Changes (by Chris Jerdonek):

 * cc: Chris Jerdonek (added)


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.12d9ef7757130cbb11f51282d65ca454%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2021-01-30 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  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
---+--
Changes (by Adam Wróbel):

 * cc: Adam Wróbel (added)


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.79f4c097f907bda33a633a87a5c987a5%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2020-07-01 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  Andreas Savvides   |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  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
---+--
Changes (by Ahmad A. Hussein):

 * cc: Ahmad A. Hussein (added)
 * type:  Uncategorized => New feature
 * component:  Uncategorized => Testing framework


Comment:

 I agree with Dan, we could use a random seed to accomplish this. This is
 worth looking into to expand our test runner's functionality.

 It is something already supported in pytest though.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.8a5fa729077d2bf82f6e7ce5ee4bed40%40djangoproject.com.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2019-06-19 Thread Django
#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=X`.

-- 
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/068.840b4f65dd000c72f78e77de624cd812%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2015-03-25 Thread Django
#24522: Add --random option to test command to run test cases in random order
---+--
 Reporter:  AnSavvides |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
---+--
Changes (by timgraham):

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


Comment:

 If you feel strongly about this, please raise it on the
 DevelopersMailingList so we can get some more opinions.

--
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/068.75b35c599a6d942d630e8e58699de96d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24522: Add --random option to test command to run test cases in random order

2015-03-22 Thread Django
#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 |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 I think we would need some way of writing the order to disk so a
 particular random order could be reproduced. I'm not sure it's worth it.

--
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/068.0f3db8da290665b44d39bee679fbfe4a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.