PHPackages                             previousnext/phpunit-finder - 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. previousnext/phpunit-finder

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

previousnext/phpunit-finder
===========================

PHP lib for finding and outputting all tests from a phpunit.xml config file.

3.1.0(4mo ago)11535.0k↓16.1%14[2 issues](https://github.com/previousnext/phpunit-finder/issues)GPL-2.0-or-laterPHPPHP ^8.1CI passing

Since Mar 5Pushed 4mo ago7 watchersCompare

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

READMEChangelog (5)Dependencies (8)Versions (14)Used By (0)

PHPUnit Finder
==============

[](#phpunit-finder)

This is a helper CLI tool that queries phpunit.xml files to get a list of test filenames and print them. This is useful if you want to split tests to run them in parallel based on timings on CI tools such as CircleCI.

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

[](#installation)

Install with composer:

`composer require --dev previousnext/phpunit-finder`

Usage
-----

[](#usage)

You can run with defaults using:

`./vendor/bin/phpunit-finder`

By default, it will look for all test suites to scan.

You can filter by specific test suites as follows:

`./vendor/bin/phpunit-finder unit kernel`

Configuration
-------------

[](#configuration)

phpunit-finder assumes you have a phpunit.xml in the root of your project. You can override the path using the `--config-file` option.

It also assumes your tests bootstrap file is found in `tests/bootstrap.php`. You can override this with the `--bootstrap-file` option.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance73

Regular maintenance activity

Popularity47

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~250 days

Recently: every ~416 days

Total

11

Last Release

127d ago

Major Versions

1.3.0 → 2.0.02021-06-21

2.0.2 → 3.0.02025-02-24

PHP version history (4 changes)1.x-devPHP ^7.1

1.3.0PHP ^7.2||^8.0

2.0.0PHP ^7.4||^8.0

3.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6132?v=4)[Kim Pepper](/maintainers/kimpepper)[@kimpepper](https://github.com/kimpepper)

---

Top Contributors

[![kimpepper](https://avatars.githubusercontent.com/u/6132?v=4)](https://github.com/kimpepper "kimpepper (19 commits)")[![larowlan](https://avatars.githubusercontent.com/u/555254?v=4)](https://github.com/larowlan "larowlan (12 commits)")[![mstrelan](https://avatars.githubusercontent.com/u/665110?v=4)](https://github.com/mstrelan "mstrelan (9 commits)")[![acbramley](https://avatars.githubusercontent.com/u/569927?v=4)](https://github.com/acbramley "acbramley (2 commits)")[![eiriksm](https://avatars.githubusercontent.com/u/865153?v=4)](https://github.com/eiriksm "eiriksm (1 commits)")

---

Tags

testing

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/previousnext-phpunit-finder/health.svg)

```
[![Health](https://phpackages.com/badges/previousnext-phpunit-finder/health.svg)](https://phpackages.com/packages/previousnext-phpunit-finder)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[behat/behat

Scenario-oriented BDD framework for PHP

4.0k96.8M2.0k](/packages/behat-behat)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[phpbench/phpbench

PHP Benchmarking Framework

2.0k13.0M627](/packages/phpbench-phpbench)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)

PHPackages © 2026

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