How to test my plugin against different ver. of wordpress and woocommerce.

[ad_1]

Hello Members

I am developing a plugin and willing to place into WordPress plugin repository.

I am confused while testing my plugin. I wrote a large selenium script with wp-cli in node.

I have to test my plugin against WordPress and WooCommerce versions, these two are mandatory for my custom developed WordPress plugin to work.

Test has to be done for -

WordPress version - 5.8.1 TO 6.6.1.
WooCommerce version - 7.2.0 TO 8.8.0

Should I test my plugin like

5.8.1 with 7.2.0
5.8.2 with 7.2.0
5.8.3 with 7.2.0

..
..

5.8.9 with 7.2.0
6.0.0 with 7.2.1

In this way there will be so many combination to test.

OR I should test like

5.8.1 with 7.2.0
5.9.0 with 7.2.0
6.0.0 with 7.2.0

6.1.0 with 7.3.0
6.2.0 with 7.3.0

* Ignore the version numbers, this can be wrong. I have seen the supported version of each plugin.

I am using only few WooCommerce function and WordPress query (Maximum 10 function). So I can check these functions are available in all these versions ?

Suggest a way how to proceed testing. I have started testing first time.

Thank you.

 

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