[wp-trac] [WordPress Trac] #39264: Add WP-API JS Client unit tests to core
WordPress Trac
noreply at wordpress.org
Tue Dec 13 14:29:30 UTC 2016
#39264: Add WP-API JS Client unit tests to core
-----------------------------+-----------------------------
Reporter: adamsilverstein | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 4.7
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
I would like to get get the QUnit tests we wrote for the WP-API Backbone
JavaScript client merged into core and running as part of our build and CI
process. I could really use some help getting the configuration right.
I am attaching a patch file which adds the tests to our core qunit suite.
In order for the tests to run correctly they must connect to the api on a
local WordPress install. In my local environment I can get this to work by
loading the test page from my local dev environment. When set up correctly
all the tests pass. I think we need to spin up this environment to test
against as part of the build.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39264>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list