[wp-trac] [WordPress Trac] #39264: Add WP-API JS Client unit tests to core

WordPress Trac noreply at wordpress.org
Thu Feb 2 14:07:13 UTC 2017


#39264: Add WP-API JS Client unit tests to core
-----------------------------------+------------------------------
 Reporter:  adamsilverstein        |       Owner:  adamsilverstein
     Type:  enhancement            |      Status:  assigned
 Priority:  normal                 |   Milestone:  4.7.3
Component:  REST API               |     Version:  4.7
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  javascript
-----------------------------------+------------------------------

Comment (by adamsilverstein):

 [attachment:39264.4.diff]
 * complete construction of dynamic schema data for QUnit tests as part of
 a PHPUnit test
 * run `phpunit --group=restapi-jsclient` to run the schema tests and
 generate the js data file for the QUnit tests
 * run qunit to run the js client tests

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


More information about the wp-trac mailing list