PHPackages                             silpo-tech/lib-test-utilities - 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. silpo-tech/lib-test-utilities

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

silpo-tech/lib-test-utilities
=============================

Library for additional test utilities

v1.0.0(7mo ago)1792↓39%1[1 PRs](https://github.com/silpo-tech/lib-test-utilities/pulls)MITPHPPHP ^8.3CI passing

Since Aug 19Pushed 5mo agoCompare

[ Source](https://github.com/silpo-tech/lib-test-utilities)[ Packagist](https://packagist.org/packages/silpo-tech/lib-test-utilities)[ RSS](/packages/silpo-tech-lib-test-utilities/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Library Test Utilities
======================

[](#library-test-utilities)

[![CI](https://github.com/silpo-tech/lib-test-utilities/actions/workflows/ci.yml/badge.svg)](https://github.com/silpo-tech/lib-test-utilities/actions)[![codecov](https://camo.githubusercontent.com/3fd7385b58162d1122f512f1aeb9b72152d4024546b469ffadcc08be7a2c90cb/68747470733a2f2f636f6465636f762e696f2f67682f73696c706f2d746563682f6c69622d746573742d7574696c69746965732f67726170682f62616467652e737667)](https://codecov.io/gh/silpo-tech/lib-test-utilities)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

About
-----

[](#about)

Library Test Utilities contains additional test utilities for PHP projects.

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

[](#installation)

Require package and its dependencies with composer:

```
composer require silpo-tech/lib-test-utilities --dev
```

Usage
-----

[](#usage)

### Comparator

[](#comparator)

```
protected function setUp(): void
{
    Factory::getInstance()->register(
        new IgnoreDynamicFieldsComparator(classes: [Recurring::class], properties: [
            'id',
            'createdAt',
            'updatedAt',
        ]),
    );
}

protected function tearDown(): void
{
    parent::tearDown();
    Factory::getInstance()->reset();
}
```

Development
-----------

[](#development)

### Tests

[](#tests)

To run the test suite, you need to install the dependencies:

```
composer install
```

Run test suite:

```
composer test:run
```

Run test suite with coverage (requires pcov extension):

```
composer test:coverage
```

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

39

—

LowBetter than 87% of packages

Maintenance68

Regular maintenance activity

Popularity22

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

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

215d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9891deddc63cb60dd472af17aee913a559f29defbe861135037dbbdf99449a6?d=identicon)[food-tech-devs](/maintainers/food-tech-devs)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/silpo-tech-lib-test-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/silpo-tech-lib-test-utilities/health.svg)](https://phpackages.com/packages/silpo-tech-lib-test-utilities)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k897.3M121.9k](/packages/phpunit-phpunit)[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k548.7M621](/packages/phpspec-prophecy)[codeception/codeception

All-in-one PHP Testing Framework

4.9k84.8M2.7k](/packages/codeception-codeception)[nelmio/alice

Expressive fixtures generator

2.5k42.8M126](/packages/nelmio-alice)[phake/phake

The Phake mock testing library

4768.0M296](/packages/phake-phake)[bovigo/assert

Provides assertions for unit tests.

13706.8k18](/packages/bovigo-assert)

PHPackages © 2026

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