[wp-hackers] Unit testing for WordPress
mario at peshev.net
Thu Mar 22 21:12:48 UTC 2012
P.S. Just found out this one - http://wordpress.org/extend/plugins/wp-unit/
- haven't tested it yet, but seems like a useful addition to my setup.
Training and Consulting Services @ DevriX
On Thu, Mar 22, 2012 at 11:02 PM, Mario Peshev <mario at peshev.net> wrote:
> Hello everyone,
> I've been reviewing the Automated Testing page in the Codex -
> http://codex.wordpress.org/Automated_Testing - and downloaded the sample
> tests out there. It is using a separate testing environment - a separate
> install to run the tests on.
> Since I would like to write my own tests, is there a pack I could add to
> my existing install and write only read-only tests (I keep backups of my
> demo site as well)? I tried copying only wp-test.php but it has several
> dependencies and I was curious if there is a sample pack to be added to
> every install of mine in order to test my plugins and/or install.
> On the other hand, is there a better option other than PHPUnit such as
> QUnit for unit testing in WordPress?
> Mario Peshev
> Training and Consulting Services @ DevriX
More information about the wp-hackers