custom-post-type-ui
custom-post-type-ui copied to clipboard
Unit Tests: import blob of JSON, parse into testable object
I want to be able to paste a json blob from a user, have it parsed into a registered type, return the resulting object to the tests, and be able to run tests on all, or individual parts of the object.
Extras: able to add/edit properties after the fact, if needed. Use setters/getters.