[wp-trac] [WordPress Trac] #30017: Many automated tests are unnecessarily slow

WordPress Trac noreply at wordpress.org
Fri Nov 24 10:33:09 UTC 2017


#30017: Many automated tests are unnecessarily slow
------------------------------+-----------------------------
 Reporter:  boonebgorges      |       Owner:  wonderboymusic
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  Future Release
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  ongoing           |     Focuses:  performance
------------------------------+-----------------------------

Comment (by Frank Klein):

 The two patches above modify the `get_next_comments_link()`, and
 `get_previous_comments_link()` tests to:
 - Use shared post permalink fixture
 - Do not reset query vars after tests, as this happens automatically now.
 - Use `assertNull` to check the return of `get_previous_comments_link

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


More information about the wp-trac mailing list