[wp-trac] [WordPress Trac] #44240: Avoid running full PHPUnit test suite for every PHP file change

WordPress Trac noreply at wordpress.org
Fri Jun 8 04:40:20 UTC 2018


#44240: Avoid running full PHPUnit test suite for every PHP file change
------------------------------+-------------------------
 Reporter:  jeremyfelt        |       Owner:  jeremyfelt
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch         |     Focuses:
------------------------------+-------------------------
Changes (by jeremyfelt):

 * owner:  (none) => jeremyfelt
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"43335" 43335]:
 {{{
 #!CommitTicketReference repository="" revision="43335"
 Build/Test Tools: Avoid running full PHPUnit test suite for every PHP file
 change.

 Use `grunt watch --phpunit --group={testgroup}` to start `grunt watch`
 with a specific test group so that PHP file changes trigger a limited
 number of tests.

 Props jeremyfelt, birgire for testing.
 Fixes #44240.
 }}}

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


More information about the wp-trac mailing list