[wp-trac] [WordPress Trac] #27343: Update phpunit grunt task to not use deprecated util

WordPress Trac noreply at wordpress.org
Thu May 8 02:00:31 UTC 2014


#27343: Update phpunit grunt task to not use deprecated util
------------------------------+------------------
 Reporter:  jorbin            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.0
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by netweb):

 Replying to [comment:3 jorbin]:
 > Looking at this, I see a number of options.
 >
 > Option 2 seems to be the best choice to me.  grunt-util-spawn is a nice
 function that does everything we need. If a better replacement comes out
 we can reassess and update then. Patch attached to do just that.

 Agreed, this sounds like the best plan for now.

 I looked into the option of using [https://github.com/SaschaGalley/grunt-
 phpunit grunt-phpunit] though we can't currently parse environments
 variables to the Grunt task [https://github.com/SaschaGalley/grunt-
 phpunit/issues/25 Issue #25] so we cannot use the task to start the
 PHPUnit tests for Multisite. We could look to use this in a further
 iteration down the road.

 I'll go and test this with #bbPress2576 shortly and report back.

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


More information about the wp-trac mailing list