Open bilfeldt opened 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:
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: