Unit Testing

[ad_1]

Hi, I am a student and I am just starting working with WordPress.

I am working for a client with an existing WordPress site, I have been given access to the WordPress dashboard, but that’s pretty much it. We’re in the process of trying to get access to the cPanel, but we have to wait for the sites host to get back to us.

Anyways, for my school assignment **I need to create unit tests and I have no clue how to go about doing that for WordPress**. It looks like Codeception might be a good option, but I don’t think I have access to the stuff I need to set it up.

Do you need to use Ubuntu or some linux flavour to use PHPUnit? I am currently running Windows 11, I could create a VM with Ubuntu if needed but I’d prefer not to.

How do you get started with unit testing at all?

Thank you!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer