PHPackages                             testomatio/list-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. testomatio/list-tests

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

testomatio/list-tests
=====================

Tests preview &amp; import for PHPUnit &amp; Codeception tests

0.2.5(1y ago)361.4k↑495.8%6[1 issues](https://github.com/testomatio/php-list-tests/issues)[1 PRs](https://github.com/testomatio/php-list-tests/pulls)MITPHP

Since Aug 10Pushed 1y ago2 watchersCompare

[ Source](https://github.com/testomatio/php-list-tests)[ Packagist](https://packagist.org/packages/testomatio/list-tests)[ Docs](https://testomat.io/)[ RSS](/packages/testomatio-list-tests/feed)WikiDiscussions 0.2.x Synced 2w ago

READMEChangelog (6)Dependencies (10)Versions (18)Used By (0)

🌀 List Tests by [Testomat.io](https://testomat.io)
==================================================

[](#-list-tests-by-testomatio)

[![CI](https://github.com/testomatio/php-list-tests/workflows/CI/badge.svg)](https://github.com/testomatio/php-list-tests/workflows/CI/badge.svg)

> List tests currently support PHP 8+, for PHP 7 look into 0.1.x branch

This CLI utility prints all tests in PHP project **without executing them**. Easily check the number tests and get live documentation for your tests in markdown format!

> Supports PHPUnit &amp; Codeception.

This CLI script is also used to import tests into Testomat.io application.

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

[](#installation)

```
composer require testomatio/list-tests --dev

```

Usage
-----

[](#usage)

To print all tests execute `list-tests` script pointing to directory with tests:

```
php vendor/bin/list-tests test/

```

This will print output similar to this:

[![](https://camo.githubusercontent.com/e2ca45b029cc0f86e511d4a1b8277de02eaf8e9267c9364b04d5cfff3c2663cd/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f4565355058444f576b41456469797a3f666f726d61743d6a7067266e616d653d6c61726765)](https://camo.githubusercontent.com/e2ca45b029cc0f86e511d4a1b8277de02eaf8e9267c9364b04d5cfff3c2663cd/68747470733a2f2f7062732e7477696d672e636f6d2f6d656469612f4565355058444f576b41456469797a3f666f726d61743d6a7067266e616d653d6c61726765)

To print tests into a file execute command with `--markdown` option providing a filename to save info into:

```
php vendor/bin/list-tests tests --markdown test-docs.md

```

This command will save test list into "tests.md" file.

To show test list with links to corresponding files on GitHub/GitLab/BitBucket use `PREPEND_URL` environment variable and set a base URL for tests files.

```
PREPEND_URL=https://github.com/testomatio/php-list-tests/tests php vendor/bin/list-tests tests --markdown tests.md

```

This will generate a file similar to [test-docs.md](https://github.com/testomatio/php-list-tests/blob/0.2.x/test-docs.md) in this repository.

Import into [Testomat.io](https://testomat.io)
----------------------------------------------

[](#import-into-testomatio)

This script can also import tests from PHP project into the testomat.io project. Pass in TESTOMATIO API KEY of your project to import tests:

```
TESTOMATIO={api-key} php vendor/bin/list-tests tests

```

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84% 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 ~101 days

Recently: every ~131 days

Total

17

Last Release

517d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/97648?v=4)[davert](/maintainers/davert)[@davert](https://github.com/davert)

---

Top Contributors

[![DavertMik](https://avatars.githubusercontent.com/u/220264?v=4)](https://github.com/DavertMik "DavertMik (21 commits)")[![ahonymous](https://avatars.githubusercontent.com/u/4721334?v=4)](https://github.com/ahonymous "ahonymous (1 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (1 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (1 commits)")[![eriku](https://avatars.githubusercontent.com/u/1197769?v=4)](https://github.com/eriku "eriku (1 commits)")

---

Tags

static analysisTDDtests

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/testomatio-list-tests/health.svg)

```
[![Health](https://phpackages.com/badges/testomatio-list-tests/health.svg)](https://phpackages.com/packages/testomatio-list-tests)
```

###  Alternatives

[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k37.2M3.2k](/packages/phpspec-phpspec)[phan/phan

A static analyzer for PHP

5.6k11.7M1.2k](/packages/phan-phan)[testo/testo

A lightweight PHP testing framework.

1923.4k32](/packages/testo-testo)[laraveldaily/filacheck

Static analysis for Filament projects - detect deprecated patterns and code issues

12055.4k](/packages/laraveldaily-filacheck)

PHPackages © 2026

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