PHPackages                             mpescador1/sonata-test-utils - 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. mpescador1/sonata-test-utils

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

mpescador1/sonata-test-utils
============================

Utils for testing SonataAdminBundle

0.1.7(4y ago)08Apache-2.0PHPPHP &gt;=7.2

Since Nov 13Pushed 4y agoCompare

[ Source](https://github.com/mpescador1/sonata-test-utils)[ Packagist](https://packagist.org/packages/mpescador1/sonata-test-utils)[ Docs](https://github.com/AVE-Systems/sonata-test-utils)[ RSS](/packages/mpescador1-sonata-test-utils/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (10)Used By (0)

SonataTestUtils
===============

[](#sonatatestutils)

Library providing traits for testing SonataAdminBundle. Provided in the tray:

```
- SonataAdminFormTraitTest for testing creation and editing forms entities.
- SonataAdminMenuTraitTest for testing the vertical menu.
- SonataAdminFlashMessagesTraitTest for testing popup messages.
- SonataAdminActionsTraitTest for testing items in a tab "Actions"
- SonataAdminListBatchActionsTraitTest for testing common actions on entity list page.
- SonataAdminTabTraitTest for testing tabs.

```

To run the tests, you first need to install the dependencies via composer

`docker-compose run php composer install`

After running the tests

`docker-compose run php vendor/bin/phpunit tests/`

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~62 days

Total

8

Last Release

1681d ago

PHP version history (2 changes)0.1.0PHP ^7.2

0.1.1PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56395851?v=4)[mpescador1](/maintainers/mpescador1)[@mpescador1](https://github.com/mpescador1)

---

Top Contributors

[![andomiell](https://avatars.githubusercontent.com/u/14309343?v=4)](https://github.com/andomiell "andomiell (20 commits)")[![ashimolin](https://avatars.githubusercontent.com/u/7036120?v=4)](https://github.com/ashimolin "ashimolin (19 commits)")[![mpescador1](https://avatars.githubusercontent.com/u/56395851?v=4)](https://github.com/mpescador1 "mpescador1 (11 commits)")[![pronata](https://avatars.githubusercontent.com/u/8860770?v=4)](https://github.com/pronata "pronata (6 commits)")

---

Tags

testinghelpertraitsonata-adminPHP7

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mpescador1-sonata-test-utils/health.svg)

```
[![Health](https://phpackages.com/badges/mpescador1-sonata-test-utils/health.svg)](https://phpackages.com/packages/mpescador1-sonata-test-utils)
```

###  Alternatives

[nunomaduro/laravel-mojito

A lightweight package for testing Laravel views.

368435.5k11](/packages/nunomaduro-laravel-mojito)[laracasts/integrated

Simple, intuitive integration testing with PHPUnit.

479206.9k2](/packages/laracasts-integrated)[juampi92/test-seo

Easy way to test your SEO

26341.0k](/packages/juampi92-test-seo)[stevegrunwell/phpunit-markup-assertions

Assertions for PHPUnit to verify the presence or state of elements within markup

16150.1k5](/packages/stevegrunwell-phpunit-markup-assertions)[viraj/cakephp-integrated

Integration testing for CakePHP

1968.9k](/packages/viraj-cakephp-integrated)

PHPackages © 2026

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