Learn how create and run unit tests using a Vagrant development server
We will cover creating units test in core, Plug-in and Themes.
We will cover the basic phpUnit commands
Learning outcomes
Understand what a Unit Test is
Know where to find unit tests for WordPress and Varying Vagrant Vagrants
Know how to run a unit tests for WordPress
Learn how to create tests
2. @me
Senior Full Stack WordPress Developer
Plugin author of Author Avatars List http://wordpress.org/plugins/author-avatars/
and WP Site Verification tool http://wordpress.org/plugins/wp-site-verification-tool/
Slides @ http://www.slideshare.net/pbearne
6. Vagrant Commands
Vagrant up
start
Vagrant suspend / resume
pause/play
Vagrant halt
turn off
Vagrant destroy
wipeout
Vagrant status
is it up
Vagrant int
create empty config file
Vagrant box
manage
Vagrant ssh
ssh in to virtual box
9. VVV on windows problems
Dos line ends
sudo dos2unix /home/vagrant/bin/*
SVN fetch fails with DB errors
svn cleanup need to be run
Windows 8 – hosts file need to be unprotect in
window defender
SVN version can be different