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?
Answers:
Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.
Method 1
Resources on how to use the WordPress unit-test:
- WordPress Automated Tests Trac
- Automated Testing in The Codex
- The Unit-Test README File (broken)
- The PHPUnit Manual
- Hakre/WP Unit-Tests Codex Page
- Block Unit Test for Gutemberg
- Unit Tests for WordPress Plugins
All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0