PHPackages                             dhii/simple-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. [Testing &amp; Quality](/categories/testing)
4. /
5. dhii/simple-test

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

dhii/simple-test
================

A simple unit testing framework, for inclusion with other tools.

v0.1.1(9y ago)033MITPHP

Since Nov 10Pushed 9y ago2 watchersCompare

[ Source](https://github.com/Dhii/simple-test)[ Packagist](https://packagist.org/packages/dhii/simple-test)[ RSS](/packages/dhii-simple-test/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (5)Versions (5)Used By (0)

SimpleTest
----------

[](#simpletest)

[![Build Status](https://camo.githubusercontent.com/0f6e41ce778e399e0504e528a1f91e2bd1ccf52f26fe1343dfe597a0c0c993ae/68747470733a2f2f7472617669732d63692e6f72672f446869692f73696d706c652d746573742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Dhii/simple-test)[![Code Climate](https://camo.githubusercontent.com/f73cbdc843e4161c98aa2e11ff4e96c3e64eb07eb09f69424736687ddfd2e43e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f73696d706c652d746573742f6261646765732f6770612e737667)](https://codeclimate.com/github/Dhii/simple-test)[![Test Coverage](https://camo.githubusercontent.com/36bad8e12a3def0c9b3b5372c422ef538a8cbb42b0184c5c7abf01353cb92f3d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f446869692f73696d706c652d746573742f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/Dhii/simple-test/coverage)

A simple, lightweight, standards-compliant, object-oriented testing framework, made for use with PHP.

### Features

[](#features)

- Use directly from PHP, no need for CLI wrappers;
- Can produce text output similar to that of other CLI testing frameworks;
- A granular approach to how or which tests to add;
- A queriable result report that exposes granular details of test resutls;
- Simple assertions, providing an extensible entry point for limitless complexity;
- No need to depend on any concrete implementation - see project dependencies;
- Loosely-coupled code via traditional dependency injection.
- Clear separation of concerns;
- Clear public API and implementation thereof.

### Planned

[](#planned)

- Add more assertions, perhaps OOP style - via callable classes;
- Add and test support for mocking frameworks;
- Make a stable release;
- Re-factor using features of PHP 5.6 and make a separate stable release.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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

Total

2

Last Release

3467d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1894e91b32c9f80d8f30a42d360af6983a507f1cf2c621b7c9a0a0de14e011c5?d=identicon)[XedinUnknown](/maintainers/XedinUnknown)

---

Top Contributors

[![XedinUnknown](https://avatars.githubusercontent.com/u/1428973?v=4)](https://github.com/XedinUnknown "XedinUnknown (40 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dhii-simple-test/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

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

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

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

PHPackages © 2026

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