PHPackages                             kraken-php/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. kraken-php/test

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

kraken-php/test
===============

Kraken Framework Test Component.

v0.4.1(9y ago)11.2k2MITPHPPHP &gt;=5.6.7

Since Sep 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/kraken-php/test)[ Packagist](https://packagist.org/packages/kraken-php/test)[ Docs](http://kraken-php.com)[ RSS](/packages/kraken-php-test/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (4)Versions (9)Used By (2)

Kraken Test Component
=====================

[](#kraken-test-component)

[![Build Status](https://camo.githubusercontent.com/af15010c36476fc4e6c49984421bf2b84750be2adc45fc8bebf1b90d9a7b52c3/68747470733a2f2f7472617669732d63692e6f72672f6b72616b656e2d7068702f6672616d65776f726b2e737667)](https://travis-ci.org/kraken-php/framework)[![Total Downloads](https://camo.githubusercontent.com/c832a27c3fa8742c234482108aa95954029f3d7d13e85767177ba6351967c68b/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f746573742f646f776e6c6f616473)](https://packagist.org/packages/kraken-php/test)[![Latest Stable Version](https://camo.githubusercontent.com/e16b9a50408d1dcfbe87b68dc8f1f9ea0f383db7daae31573ecfd5f849f6d83e/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f746573742f762f737461626c65)](https://packagist.org/packages/kraken-php/test)[![Latest Unstable Version](https://camo.githubusercontent.com/daeba0add8d92000b5425636b8af7840bd718fa0aafb9bd867450c0caf38b99d/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f746573742f762f756e737461626c65)](https://packagist.org/packages/kraken-php/test)[![License](https://camo.githubusercontent.com/7b3d640f212d4ca5dfa30751f70cef9fd309f7b19fdd33448b776f26fdfdd42f/68747470733a2f2f706f7365722e707567782e6f72672f6b72616b656e2d7068702f6672616d65776f726b2f6c6963656e7365)](https://packagist.org/packages/kraken-php/framework)[![Kraken Compatible](https://camo.githubusercontent.com/1b4bd0ba007b4666bb6e1a081a7aeeafd8c9cfcaeab74fc4121ac3e353e3b51f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6b72616b656e2d636f6d70617469626c652d3662303261662e737667)](https://github.com/kraken-php/framework)

> **Note:** This repository is a part of [Kraken Framework](https://github.com/kraken-php/framework), but **can be used freely as standalone library**. If you are interested in more asynchronous components for PHP, check out the rest of [Kraken repository](https://github.com/kraken-php) or see our [asynchronous application skeleton](https://github.com/kraken-php/kraken) example.

Description
-----------

[](#description)

Test is a component that provides suites for unit, module and integration testing Kraken components.

Feature Highlights
------------------

[](#feature-highlights)

Test features:

- TUnit test case,
- TModule test case with custom loop,
- Support for creating event-based simulations,
- Set of stubs,
- ...and more.

Requirements
------------

[](#requirements)

- PHP-5.6 or PHP-7.0+,
- UNIX or Windows OS.

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

[](#installation)

```
composer require kraken-php/test

```

Contributing
------------

[](#contributing)

This library is read-only subtree split of Kraken Framework. To make contributions, please go to [Framework repository](https://github.com/kraken-php/framework).

License
-------

[](#license)

This library licensed under the MIT license, see more information in [Kraken Framework](https://github.com/kraken-php/framework) license section.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

Recently: every ~56 days

Total

8

Last Release

3337d ago

PHP version history (2 changes)v0.3.0PHP &gt;=5.5.9

0.4.x-devPHP &gt;=5.6.7

### Community

Maintainers

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

---

Top Contributors

[![khelle](https://avatars.githubusercontent.com/u/5642657?v=4)](https://github.com/khelle "khelle (24 commits)")

---

Tags

testTDDkrakenkraken-php

### Embed Badge

![Health badge](/badges/kraken-php-test/health.svg)

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k526.2M26.3k](/packages/mockery-mockery)[pestphp/pest

The elegant PHP Testing Framework.

11.6k72.2M19.4k](/packages/pestphp-pest)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k42.5M39.3k](/packages/orchestra-testbench)[atoum/atoum

Simple modern and intuitive unit testing framework for PHP 8.0+

1.4k2.7M317](/packages/atoum-atoum)[php-mock/php-mock

PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.

37419.9M121](/packages/php-mock-php-mock)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.7M518](/packages/php-mock-php-mock-phpunit)

PHPackages © 2026

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