wp-cli/automated-tests

Automated tests across WP-CLI and all bundled packages.

v2.0.2 2024-07-18 08:37 UTC

This package is auto-updated.

Last update: 2024-10-31 10:16:37 UTC


README

This repository runs automated tests for the nightly Phar builds of WP-CLI.

Testing

Usage Instructions

The testing is set up through the use of environment variables in the Travis CI matrix configuration.

Testing source packages

$TEST_PACKAGE enables tests against source packages. You can select which commands/packages to test.

The following options can be set:

  • none - No packages are tested.
  • all - The framework as well as all bundled commands are tested.
  • commands - Only the command packages are tested.
  • <package name> - Only the package named is tested.

Testing against Phar distributions

$TEST_PHAR enables tests against the Phar distributions. You can select which distribution to test. The selected distribution will be tested against all bundled commands/packages.

The following options can be set:

  • none - Skip phar testing.
  • nightly - Use the nightly phar.
  • stable - Use the latest stable phar release.
  • all - Use both the latest stable release phar as well as the nightly phar.

Automated Builds

This repository is being rebuilt through a Travis CI cron job every 24 hours to post test results in Emails and Slack.