PHPackages                             garyjl/simpletest - 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. garyjl/simpletest

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

garyjl/simpletest
=================

Unit testing, mock objects and web testing framework for PHP built around test cases.

v1.1.0(11y ago)031LGPL-2.0+PHPPHP &gt;=5.0.5

Since Jan 3Pushed 11y agoCompare

[ Source](https://github.com/garyjl/simpletest)[ Packagist](https://packagist.org/packages/garyjl/simpletest)[ RSS](/packages/garyjl-simpletest/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

SimpleTest
==========

[](#simpletest)

You probably got this package from:

```
http://simpletest.org/en/download.html

```

If there is no licence agreement with this package please download a version from the location above. You must read and accept that licence to use this software. The file is titled simply LICENSE.

What is it? It's a framework for unit testing, web site testing and mock objects for PHP 5.0.5+.

If you have used JUnit, you will find this PHP unit testing version very similar. Also included is a mock objects and server stubs generator. The stubs can have return values set for different arguments, can have sequences set also by arguments and can return items by reference. The mocks inherit all of this functionality and can also have expectations set, again in sequences and for different arguments.

A web tester similar in concept to JWebUnit is also included. There is no JavaScript or tables support, but forms, authentication, cookies and frames are handled.

You can see a release schedule at which is also copied to the documentation folder with this release. A full PHPDocumenter API documentation exists at .

The user interface is minimal in the extreme, but a lot of information flows from the test suite. After version 1.0 we will release a better web UI, but we are leaving XUL and GTK versions to volunteers as everybody has their own opinion on a good GUI, and we don't want to discourage development by shipping one with the toolkit. You can download an Eclipse plug-in separately.

The unit tests for SimpleTest itself can be run here:

```
test/unit_tests.php

```

And tests involving live network connections as well are here:

```
test/all_tests.php

```

The full tests will typically overrun the 8Mb limit often allowed to a PHP process. A workaround is to run the tests on the command with a custom php.ini file or with the switch -dmemory\_limit=-1 if you do not have access to your server version.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist garyjl/simpletest "*"

```

or add

```
"garyjl/simpletest": "*"

```

to the require section of your `composer.json` file.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ccbc9f2666bdab335b7579d8e278dea81320a2a5bc66b8729acc664b77af5bb?d=identicon)[garyjl](/maintainers/garyjl)

---

Top Contributors

[![garyjl](https://avatars.githubusercontent.com/u/4896062?v=4)](https://github.com/garyjl "garyjl (2 commits)")

### Embed Badge

![Health badge](/badges/garyjl-simpletest/health.svg)

```
[![Health](https://phpackages.com/badges/garyjl-simpletest/health.svg)](https://phpackages.com/packages/garyjl-simpletest)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

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

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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