ACF – programmatically install and activate in pipeline to automate testing for custom plugin development?
ACF – programmatically install and activate in pipeline to automate testing for custom plugin development?
ACF – programmatically install and activate in pipeline to automate testing for custom plugin development?
How do I package and distribute my WordPress plugin via git?
Testing Plugin – Install plugin dependencies in testing enviroment
I just discovered the “register_new_user” function so there does not appear to be a need for simulating the registration form. So I can do something like this: public function test_registration_errors { $user_login = ‘newuser’; $user_email=”[email protected]”; $errors = register_new_user ( $user_login, $user_email $this->assertIsNotInt( $errors ); }
How do I activate a plugin while testing?
As you’ve found there’s a whole raft of outdated, poor and convoluted information around unit testing in WP currently. However Josh Pollock, a well respected WordPress dev and Core contributor did a YouTube series on testing in WordPress least year which I found very helpful. As I’ve been on the unit testing in WordPress journey … Read more
To do this properly you really need to be using a proper git workflow and something like capistrano or ansible for deploying your changes to stage. The database imports and exports will need to handled separately.
Congrats on your first client. I’m glad you are looking around to make sure that you start off on the right foot. Like anything that you start in life, your experience will increase over time and the more you practice. However, we live in a digital age and popular open-source platforms such as WordPress have … Read more
You’re on a Mac! You have two of the three components you need for a Web server by default. Apache and PHP. All you need to do now is get MySQL. There are plenty of tutorials on how to do this and can be found with Google. Of course NW Tech recommendation of MAMP is … Read more
if your using the same database you just copy the entire site over .. if you want to use the same database with its own tables for storage, delete the wp-config file and as your setting up the 2nd WordPress site just select a different table pre-curser .. the first would be wp_ .. the … Read more