Opened 13 years ago
Closed 11 years ago
#19915 closed enhancement (wontfix)
Add unit tests for AtomPub API
Reported by: | rmccue | Owned by: | rmccue |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | AtomPub | Keywords: | |
Focuses: | Cc: |
Description
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 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)
So a) no one ever cared about Gorilla, and b) AtomPub is no longer in core, so closing.