[issue22813] No facility for test randomisation

2015-03-02 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813 ___

[issue22813] No facility for test randomisation

2014-11-10 Thread Michael Foord
Michael Foord added the comment: The point is that it is easy to have unintentional dependencies between tests. Test a sets up some state that test b relies on. This means that test b passes, so long as test a has already run. This is bad, tests should be isolated - it also means you can

[issue22813] No facility for test randomisation

2014-11-10 Thread sbspider
sbspider added the comment: Right makes sense. I'll see what I can do. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813 ___ ___

[issue22813] No facility for test randomisation

2014-11-09 Thread sbspider
sbspider added the comment: And what do you think would it be useful for? I mean, it shouldn't be too hard to implement, a couple of hours at most, but I can't seem to see what would be the purpose. However, if you think that there is enough of a use case behind it, then I would be happy to

[issue22813] No facility for test randomisation

2014-11-07 Thread Robert Collins
New submission from Robert Collins: Unittest doesn't support a test randomisation feature. Such a feature should support: - passing in a seed (to allow reproducing the order for debugging) - preserving the suite hierarchy, to preserve class and module setUp performance optimisations - and

[issue22813] No facility for test randomisation

2014-11-07 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- nosy: +ezio.melotti, michael.foord ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813 ___ ___

[issue22813] No facility for test randomisation

2014-11-07 Thread sbspider
sbspider added the comment: To clarify - are you querying about a) Randomiser for tests, so that tests can have random variables or b) That the order in which tests are called should have the option to be randomized ? -- nosy: +sbspider ___

[issue22813] No facility for test randomisation

2014-11-07 Thread Robert Collins
Robert Collins added the comment: b) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22813 ___ ___ Python-bugs-list mailing list Unsubscribe: