-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Use api-platform/core#2608 to create a full test suite for the API Platform integration.
If some new helpers must be added (JSON schema assertion, PHP matcher one, utility to run the same test with different standards formats such as JSON-LD, HAL and JSON-API, add them to api-platform/core first).
Start by testing the most useful endpoints. I suggest to "think" about a typical SPA that will consume the API, and to add test to ensure that all necessary endpoints are working properly (eg. first the one to list categories, products, offer, then the one to add something to the cart, then the one to checkout, then the one to create and manage users, orders... and so on). Maybe can be this done in parallel to #8 (disable all endpoints by default, and re-enable them when usful for the hypotetical SPA, and tested).