
Understanding WordPress Unit Testing Jargon
Today, we’re going to take another step towards writing well-tested code, by introducing you to all the jargon that gets thrown around when you talk about unit testing for WordPress.
Today, we’re going to take another step towards writing well-tested code, by introducing you to all the jargon that gets thrown around when you talk about unit testing for WordPress.
While you can find lots of content about unit testing PHP applications, there aren’t many people talking about unit testing specifically for WordPress. There is precious little written about where to start for developers that are ready to increase their code quality and want to learn how to add tests to their work.
Automating your WordPress deployment, and taking the time to get it right, means you never accidentally overwrite the wrong files, put the wrong files in the wrong directory, or make any other of the many mistakes I’ve made moving files around in the 12 years I’ve been building sites. A day or two of time spent configuring deployment for your first time is worth saving that pain.
Even if you’re the only person working on a project, using Git and a Git workflow will help you keep your projects organized. You won’t need to press CTRL + Z until you’ve reset your work after writing code that didn’t work. You’ll be able to trust your system and keep producing work for your projects.
By using Git to manage your client projects, you will save yourself headaches since you can roll back changes or discard entire branches if you no longer want the work you’ve done. No more Ctrl + Z until you think you’ve rolled back far enough, Git will keep track of it all for you.
What is cPanel WordPress and what are your options? Read this blog to learn more about cPanel WordPress and how it compares to DIY solutions and managed hosting.
Sometimes you need to make an adjustment to WordPress themes. Learn how to use the WordPress CSS editor to customize things your way.
As a WordPress hosting client, it’s not essential that you know the nitty gritty details of how WordPress runs behind the scenes. In fact, WordPress was created so that people could focus on writing and publishing, not on the technical details. But it’s useful to have a basic understanding of the platform to help you […]
While many visitors may enter your site for the first time through a blog post, your homepage is the virtual front door of your WordPress blog. When someone visits your site directly through your main URL, it is the first page of your website they will see. Your homepage represents the first opportunity to make […]
Many new site owners find themselves asking a common question: where is the .htaccess file in WordPress sites? Before we get there, let’s zoom out to give some context. WordPress relies on several open-source applications, including the PHP interpreter, the MySQL database, and the Apache web server. Apache’s role is to pass requests to WordPress […]
Your inbox needs more Nexcess
Grow your online business faster with news, tips, strategies, and inspiration.