Skip to content

Switch to @wordpress/env for development and testing #122

@GaryJones

Description

@GaryJones

Requires Docker, but allows us to streamline development and testing in other ways.

  • Add a .wp-env.json file
  • Install npm packages during integrations.yml
  • Remove need for installing SVN during integrations.yml
  • Remove bin/install-wp-test.sh
  • Update documentation
# Start with:
wp-env start --xdebug=coverage
# Run tests with:
wp-env run tests-cli --env-cwd=wp-content/plugins/zoninator composer test

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: maintenanceRoutine maintenance and code quality improvements

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions