Edwin Cromley
Edwin Cromley
Hi! My name is Edwin, I am a web engineer doing various projects for major universities, mostly involving WordPress. I am very passionate about WordPress and hope you are too!...
Move current tests to extend the WPGraphQL test case. Currently, some of the tests are inheriting directly form WP Unit Testcase, they should instead inherit from the WP GraphQL test...
Add tests for `'first', 'after', 'ignore_sticky_posts', 'order', 'orderby', 'post_mime_type'`
Add WP_Query arg tests for `'s', 'p', 'name', 'page_id', 'page_slug', 'post_parent', 'post_parent__in', 'post_parent__not_in', 'post__in', 'post__not_in', 'post_name__in', 'post_type', 'post_status'`
Add tests for WP_Query args `'tag', 'tag_and', 'tag__in', 'tag__not_in', 'tag_slug__and', 'tag_slug__in'`
Tests for: `'category', 'category_name', 'category_and', 'category__in', 'category__not_in'`.
Test for `'author', 'author_name', 'author__in', 'author__not_in'`.
WordPress internals change and possibly the way things will be interacted could change, these changes could potentially cause a massive headache. For each type there must be an interface between...
The test suite is getting unruly. It should be separated and have the shared methods on the originating class.
It is possible to do REST API requests internally during PHP execution. The WordPress REST API provides a great interface that is much more consistent than some of WordPress's internal...