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

WordPress Trac noreply at wordpress.org
Mon Jan 30 15:04:42 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.3.diff] First pass at adding schema data generation as
 part of a phpunit test.

 running `phpunit --group=restapi-jsclient` will generate the json required
 for the QUnit tests in tests/qunit/data.

 Next step is to switch to using the generated data and remove the mocked
 data.

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


More information about the wp-trac mailing list