PHPackages                             wp-cli/automated-tests - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. wp-cli/automated-tests

ActiveLibrary[Testing &amp; Quality](/categories/testing)

wp-cli/automated-tests
======================

Automated tests across WP-CLI and all bundled packages.

v2.0.2(1y ago)639[1 PRs](https://github.com/wp-cli/automated-tests/pulls)MITShellPHP ^5.6 | ^7 | ^8CI passing

Since Aug 3Pushed 1mo ago5 watchersCompare

[ Source](https://github.com/wp-cli/automated-tests)[ Packagist](https://packagist.org/packages/wp-cli/automated-tests)[ Docs](https://wp-cli.org)[ RSS](/packages/wp-cli-automated-tests/feed)WikiDiscussions main Synced 2mo ago

READMEChangelog (4)Dependencies (3)Versions (7)Used By (0)

WP-CLI Automated Tests
======================

[](#wp-cli-automated-tests)

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

[![Testing](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml/badge.svg)](https://github.com/wp-cli/automated-tests/actions/workflows/testing.yml)

Usage Instructions
------------------

[](#usage-instructions)

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

### Testing source packages

[](#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.
- **``** - Only the package named is tested.

### Testing against Phar distributions

[](#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

[](#automated-builds)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance65

Regular maintenance activity

Popularity11

Limited adoption so far

Community27

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 54.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~724 days

Total

4

Last Release

666d ago

Major Versions

v1.0.0 → v2.0.02018-08-06

PHP version history (4 changes)v1.0.0PHP &gt;=5.3.29

v2.0.0PHP &gt;=5.4

v2.0.1PHP &gt;=5.6

v2.0.2PHP ^5.6 | ^7 | ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/6dde7f578e5530884238e7173f768ae3a890b6d66eb99262a82f2c494a1b67d4?d=identicon)[schlessera](/maintainers/schlessera)

---

Top Contributors

[![danielbachhuber](https://avatars.githubusercontent.com/u/36432?v=4)](https://github.com/danielbachhuber "danielbachhuber (490 commits)")[![schlessera](https://avatars.githubusercontent.com/u/83631?v=4)](https://github.com/schlessera "schlessera (159 commits)")[![scribu](https://avatars.githubusercontent.com/u/225715?v=4)](https://github.com/scribu "scribu (143 commits)")[![swissspidy](https://avatars.githubusercontent.com/u/841956?v=4)](https://github.com/swissspidy "swissspidy (28 commits)")[![NateWr](https://avatars.githubusercontent.com/u/2306629?v=4)](https://github.com/NateWr "NateWr (8 commits)")[![nyordanov](https://avatars.githubusercontent.com/u/192220?v=4)](https://github.com/nyordanov "nyordanov (6 commits)")[![miya0001](https://avatars.githubusercontent.com/u/309946?v=4)](https://github.com/miya0001 "miya0001 (6 commits)")[![mwilliamson](https://avatars.githubusercontent.com/u/391876?v=4)](https://github.com/mwilliamson "mwilliamson (6 commits)")[![szepeviktor](https://avatars.githubusercontent.com/u/952007?v=4)](https://github.com/szepeviktor "szepeviktor (5 commits)")[![francescolaffi](https://avatars.githubusercontent.com/u/357331?v=4)](https://github.com/francescolaffi "francescolaffi (4 commits)")[![wojsmol](https://avatars.githubusercontent.com/u/4176111?v=4)](https://github.com/wojsmol "wojsmol (4 commits)")[![mpeshev](https://avatars.githubusercontent.com/u/328189?v=4)](https://github.com/mpeshev "mpeshev (4 commits)")[![clemens-tolboom](https://avatars.githubusercontent.com/u/371014?v=4)](https://github.com/clemens-tolboom "clemens-tolboom (3 commits)")[![wesm87](https://avatars.githubusercontent.com/u/1192513?v=4)](https://github.com/wesm87 "wesm87 (3 commits)")[![lkwdwrd](https://avatars.githubusercontent.com/u/1895738?v=4)](https://github.com/lkwdwrd "lkwdwrd (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![johnbillion](https://avatars.githubusercontent.com/u/208434?v=4)](https://github.com/johnbillion "johnbillion (2 commits)")[![aaemnnosttv](https://avatars.githubusercontent.com/u/1621608?v=4)](https://github.com/aaemnnosttv "aaemnnosttv (2 commits)")[![Japh](https://avatars.githubusercontent.com/u/237905?v=4)](https://github.com/Japh "Japh (2 commits)")[![jmslbam](https://avatars.githubusercontent.com/u/145887?v=4)](https://github.com/jmslbam "jmslbam (2 commits)")

---

Tags

clihacktoberfesttestingwordpresswp-clicliwordpress

### Embed Badge

![Health badge](/badges/wp-cli-automated-tests/health.svg)

```
[![Health](https://phpackages.com/badges/wp-cli-automated-tests/health.svg)](https://phpackages.com/packages/wp-cli-automated-tests)
```

###  Alternatives

[wp-coding-standards/wpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress coding conventions

2.7k42.5M1.6k](/packages/wp-coding-standards-wpcs)[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[wp-cli/wp-cli-bundle

WP-CLI bundle package with default commands.

896.3M131](/packages/wp-cli-wp-cli-bundle)[yoast/wp-test-utils

PHPUnit cross-version compatibility layer for testing plugins and themes build for WordPress

632.3M52](/packages/yoast-wp-test-utils)[frozzare/wp-test-suite

Run WordPress test easy

2225.5k21](/packages/frozzare-wp-test-suite)[axepress/wp-graphql-cs

PHP\_CodeSniffer rules (sniffs) for the WPGraphQL ecosystem.

1060.9k7](/packages/axepress-wp-graphql-cs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
