smartsendio / woocommerce

Smart Send module for WooCommerce
GNU General Public License v3.0
0 stars 2 forks source link

Write integration tests #35

Open bilfeldt opened 11 months ago

bilfeldt commented 11 months ago

Implement integration (WP) tests (see https://make.wordpress.org/cli/handbook/misc/plugin-unit-tests/).

Let us take the "easiest" one first. Ideas for tests:

Ideally we are able to run these tests on a set of different WooCommerce / WordPress versions both locally and in Github actions. See this guide (note the commands are outdated though) and this scafolding command: https://developer.wordpress.org/cli/commands/scaffold/plugin-tests/

Start with testing using: