PHPackages                             chrisdicarlo/phpunit-failed-runner - 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. chrisdicarlo/phpunit-failed-runner

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

chrisdicarlo/phpunit-failed-runner
==================================

Run only your failed PHPUnit tests

v1.3(3y ago)338.7k↓20.6%1MITPHPCI passing

Since Jul 19Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/chrisdicarlo/phpunit-failed-runner)[ Packagist](https://packagist.org/packages/chrisdicarlo/phpunit-failed-runner)[ Docs](https://github.com/chrisdicarlo/phpunit-failed-runner)[ RSS](/packages/chrisdicarlo-phpunit-failed-runner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)DependenciesVersions (9)Used By (0)

Run Only Your Failed Tests
==========================

[](#run-only-your-failed-tests)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6d0f3dd9f33ca42577ecd6b89a6c667628d5db07221b1a1d55eb6390a5b95f92/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636872697364696361726c6f2f706870756e69742d6661696c65642d72756e6e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/phpunit-failed-runner)[![Total Downloads](https://camo.githubusercontent.com/02966dd80ed353dd6fac063b93958c51eaa85ca5a6a59812138e2bbccc3ea3f9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636872697364696361726c6f2f706870756e69742d6661696c65642d72756e6e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/chrisdicarlo/phpunit-failed-runner)

Small package that allows you to incrementally run only your previously failed tests.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require chrisdicarlo/phpunit-failed-runner --dev
```

### Install XmlStarlet

[](#install-xmlstarlet)

On Linux:

```
sudo apt-get update
sudo apt-get install xmlstarlet
```

For XmlStarlet on other platforms, see [here](http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139681232).

Usage
-----

[](#usage)

```
./vendor/bin/phpunit-failed-runner
```

Testing
-------

[](#testing)

This package includes a comprehensive test suite that demonstrates the incremental test-fixing workflow.

Run the test suite:

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Chris Di Carlo](https://github.com/chrisdicarl)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance48

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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 ~74 days

Recently: every ~126 days

Total

8

Last Release

1246d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6159207435e8cabb711901d8ccd89a36efc20b12f501ae282fa0e1b72720e461?d=identicon)[dicarlosystems](/maintainers/dicarlosystems)

---

Top Contributors

[![chrisdicarlo](https://avatars.githubusercontent.com/u/3483368?v=4)](https://github.com/chrisdicarlo "chrisdicarlo (33 commits)")[![mikepsinn](https://avatars.githubusercontent.com/u/2808553?v=4)](https://github.com/mikepsinn "mikepsinn (1 commits)")

---

Tags

phpunittestchrisdicarlophpunit-failed-runner

### Embed Badge

![Health badge](/badges/chrisdicarlo-phpunit-failed-runner/health.svg)

```
[![Health](https://phpackages.com/badges/chrisdicarlo-phpunit-failed-runner/health.svg)](https://phpackages.com/packages/chrisdicarlo-phpunit-failed-runner)
```

###  Alternatives

[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[kenjis/ci-phpunit-test

An easier way to use PHPUnit with CodeIgniter 3.x

5861.2M3](/packages/kenjis-ci-phpunit-test)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[zenstruck/assert

Standalone, lightweight, framework agnostic, test assertion library.

8214.9M8](/packages/zenstruck-assert)[wp-phpunit/wp-phpunit

WordPress core PHPUnit library

803.7M208](/packages/wp-phpunit-wp-phpunit)

PHPackages © 2026

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