[wp-trac] [WordPress Trac] #29896: Organize Multisite Unit Tests

WordPress Trac noreply at wordpress.org
Wed Oct 8 21:09:26 UTC 2014


#29896: Organize Multisite Unit Tests
------------------------------+-----------------------
 Reporter:  jeremyfelt        |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  4.1
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  multisite         |
------------------------------+-----------------------
 In the near future, I'd like to expand what we're testing in our multisite
 unit tests quite a bit. The single `ms.php` file we have now is getting
 long and unwieldy.

 The attached patch:

 * Adds a `multisite/` directory with test classes for sites, users, and
 bootstrap.
 * Adds groups ms-sites, ms-users, ms-bootstrap to handle the running of
 similar tests in an easier way.

 I've left a handful of tests in the original `ms.php` file and am
 pondering where to put these. This may be good for now until other tests
 in those areas are written.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29896>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list