[wp-trac] [WordPress Trac] #37371: Reduce reliance on randomness in tests

WordPress Trac noreply at wordpress.org
Sun Oct 9 01:11:16 UTC 2016


#37371: Reduce reliance on randomness in tests
------------------------------+-----------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------------

Comment (by johnbillion):

 In [changeset:"38762"]:
 {{{
 #!CommitTicketReference repository="" revision="38762"
 Build/Test Tools: Begin eliminating unnecessary randomness in tests.

 Although unlikely, clashes in randomly generated strings could cause
 unexpected failures. In addition, most randomness is entirely unnecessary,
 is bad practice, and increases test time (however small it may be).

 See #37371
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37371#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list