[wp-trac] [WordPress Trac] #19915: Add unit tests for AtomPub API
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 28 16:25:15 UTC 2012
#19915: Add unit tests for AtomPub API
-------------------------+-----------------------------
Reporter: rmccue | Owner: rmccue
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Unit Tests | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Apologies if this is a duplicate, I couldn't find any.
The AtomPub API is hideously under-tested. Since it's a part of WordPress
that doesn't get touched often, it's also one of the most crucial
components that needs testing.
I'm working on [https://github.com/rmccue/Gorilla a test runner called
Gorilla], which is designed as a replacement for the APE (Atom Protocol
Exerciser). This will have a port of all the APE unit tests to PHP, and
I'm also going to start writing some new ones for all the new APIs that
are being added in #18430, #18431, #18432 and #18433.
These are specifically designed to be able to be independent of Gorilla,
so that it will be easy to bring into a normal PHPUnit test suite, and
hopefully will be able to run as part of the normal WordPress unit test
suite. (Although they'll still need some components of Gorilla to work)
(This is filed under Unit Tests, but AtomPub might be a better component)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19915>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list