[wp-trac] [WordPress Trac] #25913: Investigate why we skip so many Unit Tests

WordPress Trac noreply at wordpress.org
Mon Nov 11 21:57:29 UTC 2013


#25913: Investigate why we skip so many Unit Tests
----------------------------+--------------------
 Reporter:  wonderboymusic  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.8
Component:  Unit Tests      |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+--------------------

Comment (by SergeyBiryukov):

 Replying to [comment:5 wonderboymusic]:
 > The test for #5953 doesn't require the ticket to be closed for its
 assertions to pass.

 There was a consensus some time ago to keep `@ticket` references even
 after the ticket is closed (so that we could quickly find the ticket if
 the test fails in the future):
 https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2011-11-02&sort=asc#m327088
 https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
 dev&day=2012-07-08&sort=asc#m417979

 There was a performance issue caused by querying Trac for each ticket
 separately, but that was fixed in [891/tests].

 It's possible to forcibly run skipped tests either by specifying the
 ticket as a group (`phpunit --group 5953`), or by uncommenting
 `WP_TESTS_FORCE_KNOWN_BUGS` (for all tickets): [source:tags/3.7.1/wp-
 tests-config-sample.php#L10].

 I don't see a reason to remove `@ticket` references.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25913#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list