Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm starting to learn Selenium and PHPUnit and I am interested in implementing what I've learned in my WordPress projects. I've seen http://unit-test.svn.wordpress.org and wonder if there are any tutorials or core-developer's notes on how to use it?

share|improve this question

2 Answers

up vote 6 down vote accepted

Resources on how to use the WordPress unit-test:

  1. WordPress Automated Tests Trac

  2. Automated Testing in The Codex

  3. The Unit-Test README File

  4. The PHPUnit Manual

  5. Hakre/WP Unit-Tests Codex Page

share|improve this answer
Another nice answer. – MikeSchinkel Aug 23 '10 at 3:45
@btw, i got this information from hakre blog. – justjoe Aug 23 '10 at 4:30

I have recently wrote a tutorial that might be of benefit. It is specifically for testing plugins, but could be used for testing the core or themes. I've taken info from docs and tutorials taken after 2 days of googling, stuck them together and shared my results (hopefully in an easy to understand way). Links to the info I gathered is given at the top of the article.

http://david-coombes.com/phpunit-testing-wordpress-plugins-with-wordpress-make/

hope this helps somebody.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.