PHPackages                             phphleb/test-o - 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. phphleb/test-o

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

phphleb/test-o
==============

Very simple unit tests for your project

v0.0.0.5(1y ago)03.9k2MITPHPPHP &gt;=8.2.0

Since Jan 29Pushed 1y ago1 watchersCompare

[ Source](https://github.com/phphleb/test-o)[ Packagist](https://packagist.org/packages/phphleb/test-o)[ RSS](/packages/phphleb-test-o/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)DependenciesVersions (7)Used By (2)

Primitive Unit Tests `Test-o`
=============================

[](#primitive-unit-tests-test-o)

[![PHP](https://camo.githubusercontent.com/b5d4f7901c58ad1ddfff679966f426cc25a9354bab763846b9a7276c2feab4e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e322d626c7565)](https://camo.githubusercontent.com/b5d4f7901c58ad1ddfff679966f426cc25a9354bab763846b9a7276c2feab4e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e322d626c7565) [![License: MIT](https://camo.githubusercontent.com/fdf4c838e998efe42a2cfb3c27b8addedc9f7ddd1ecfecc4b19254f784232b7a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542532302846726565292d627269676874677265656e2e737667)](https://github.com/phphleb/hleb/blob/master/LICENSE)

---

Install using Composer:

```
composer require phphleb/test-o
```

An example check is in the "example" folder.

To run tests (methods starting with "test") for all files (classes) (ending with "Test.php" and inherited from "Phphleb\\TestO\\TestCase") in a folder:

```
php ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example
```

Tests will be performed:

```
Test-O 0.0.0 by Foma Tuturov.

Runtime:       PHP 8.2.7
........

Time: 00:00:00, Memory: 0.52 MB

OK Tests: 8, Assertions: 8

```

Running tests in a different visual mode:

```
php ./vendor/phphleb/test-o/run -L ./vendor/phphleb/test-o/example
```

Tests will be performed:

```
Test-O 0.0.0 by Foma Tuturov.

Runtime:       PHP 8.2.7
1 OK Phphleb\TestO\Example\ExampleTest:testExampleFirstMethod (0.109ms)
2 OK Phphleb\TestO\Example\ExampleTest:testExampleSecondMethod (0.066ms)
3 OK Phphleb\TestO\Example\ExampleTest:testExampleThirdMethod (0.084ms)
4 OK Phphleb\TestO\Example\ExampleTest:testExampleFourthMethod (0.054ms)
5 OK Phphleb\TestO\Example\ExampleTest:testExampleFifthMethod (0.038ms)
6 OK Phphleb\TestO\Example\ExampleTest:testExampleDataProvider provider case 1  (0.037ms)
7 OK Phphleb\TestO\Example\ExampleTest:testExampleDataProvider provider case 2  (0.022ms)
8 OK Phphleb\TestO\Example\ExampleTest:testExampleDataProvider provider case 3  (0.031ms)

Time: 00:00:00, Memory: 0.52 MB

OK Tests: 8, Assertions: 8

```

To run tests on a single file (class):

```
php ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php
```

To run tests on a single file (class) and method:

```
php ./vendor/phphleb/test-o/run ./vendor/phphleb/test-o/example/ExampleTest.php:testExampleFirstMethod
```

If tests are used for the [HLEB2](https://github.com/phphleb/hleb) framework:

```
composer require phphleb/tests
```

```
php ./vendor/phphleb/test-o/run ./vendor/phphleb/tests
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~66 days

Recently: every ~8 days

Total

6

Last Release

545d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/add493abc37e54c44eabe920dd9facf7aae69955c84bb8245b561f3fc51708da?d=identicon)[phphleb](/maintainers/phphleb)

---

Top Contributors

[![phphleb](https://avatars.githubusercontent.com/u/48386098?v=4)](https://github.com/phphleb "phphleb (9 commits)")

---

Tags

december-challengefree-softwarehacktoberfestholiday-eventpull-requestssummer-program

### Embed Badge

![Health badge](/badges/phphleb-test-o/health.svg)

```
[![Health](https://phpackages.com/badges/phphleb-test-o/health.svg)](https://phpackages.com/packages/phphleb-test-o)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14228.7M340](/packages/dms-phpunit-arraysubset-asserts)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8219.1M69](/packages/orchestra-workbench)[phpbenchmark/phpbenchmark

Easy to use benchmark toolkit for your PHP-application. This library contains classes for comparing algorithms as well as benchmarking application responses

8011.5k2](/packages/phpbenchmark-phpbenchmark)

PHPackages © 2026

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