woocommerce/packages/php/blueprint/development.md

368 B

Development

Running Unit Tests

We use wp-env to setup test environment in Docker. Please install wp-env by running npm install -g @wordpress/env if you haven't already.

  1. Run composer run test:setup to run wp-env.
  2. Run composer run test:unit to run unit tests.