PHPackages                             togos/simpler-test - 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. togos/simpler-test

ActiveLibrary

togos/simpler-test
==================

A simple unit test framework to support PHPUnit-like tests

1.2.4(2y ago)06798MITPHPPHP &gt;=5.2

Since Oct 19Pushed 2y agoCompare

[ Source](https://github.com/TOGoS/PHPSimplerTest)[ Packagist](https://packagist.org/packages/togos/simpler-test)[ RSS](/packages/togos-simpler-test/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (10)Used By (8)

PHPSimplerTest, a.k.a. togos/simpler-test
=========================================

[](#phpsimplertest-aka-togossimpler-test)

Nearly drop-in replacement for PHPUnit, assuming you're only extending TestCase and and calling `assert{True,False,Equals,NotEquals,Null,NotNull}`from `testX` methods.

Advantage over PHPUnit: No dependencies aside from PHP itself. Theoretically works with PHP 5.2, though this is no longer demonstrated by Travis CI because they keep breaking things.

Inherit from `TOGoS_SimplerTest_TestCase`, name your test case classes and source files following the [naming rules](#naming-rules), and use `phpsimplertest` to run your tests from the command-line.

For examples, see PHPSimplerTest's own [tests](./src/test/php/TOGoS/SimplerTest/) and [Makefile](./Makefile).

Installing
----------

[](#installing)

Using composer:

```
composer require phpsimplertest=^1.2

```

Naming Rules
------------

[](#naming-rules)

To be found by TestFinder:

- test classes must be defined in source files whose names end with "Test.php"
- test class names must end with "Test"

Running
-------

[](#running)

Assuming you have used Composer to install phpsimplest and that you have a source directory, `src/test/php`, containing source code for test case classes:

```
vendor/bin/phpsimplertest --bootstrap=vendor/autoload.php --colorful-output src/test/php

```

`--colorful-output` results in a nice green line of text being output when all goes well. If you are running tests as part a script, you probably want to omit that.

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~322 days

Total

9

Last Release

1011d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84f2846fb867825e6831a99f7ba5ca9301de56a424928e2c494f81c2c6061677?d=identicon)[TOGoS](/maintainers/TOGoS)

---

Top Contributors

[![TOGoS](https://avatars.githubusercontent.com/u/57142?v=4)](https://github.com/TOGoS "TOGoS (14 commits)")

### Embed Badge

![Health badge](/badges/togos-simpler-test/health.svg)

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

PHPackages © 2026

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