PHPackages                             brunty/phpunit-vicious-mockery - 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. brunty/phpunit-vicious-mockery

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

brunty/phpunit-vicious-mockery
==============================

A silly extension to PHPUnit to insult you when your tests fail.

0.0.3(2y ago)422MITPHPPHP ~8.2.0 || ~8.3.0

Since Feb 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Brunty/phpunit-vicious-mockery)[ Packagist](https://packagist.org/packages/brunty/phpunit-vicious-mockery)[ RSS](/packages/brunty-phpunit-vicious-mockery/feed)WikiDiscussions main Synced today

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

Vicious Mockery extension for PHPUnit
=====================================

[](#vicious-mockery-extension-for-phpunit)

This project is in no way endorsed or associated with PHPUnit, nor is it endorsed or associated with Wizards of the Coast / D&amp;D. It is just an extension to lightly insult you when your tests fail.

Thanks to [Froggy](https://twitter.com/Froggymakes) for the name idea!

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

[](#installation)

Install via composer:

`composer require brunty/phpunit-vicious-mockery --dev`

Then configure it as a PHPUnit extension in your PHPUnit configuration file:

```

```

Now when your tests fail it will produce a random insult for you and your failures:

```
...............................................................  63 / 128 ( 49%)
............................................................... 126 / 128 ( 98%)
F.                                                              128 / 128 (100%)

Vicious Mockery!
class YourCode implements Incompetence

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.3% 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 ~0 days

Total

3

Last Release

867d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/40cdb90b0420d70582f27d22c873198f24f2704ee3f80227134a7180cf8cff51?d=identicon)[Brunty](/maintainers/Brunty)

---

Top Contributors

[![Brunty](https://avatars.githubusercontent.com/u/1573273?v=4)](https://github.com/Brunty "Brunty (13 commits)")[![Antnee](https://avatars.githubusercontent.com/u/2102062?v=4)](https://github.com/Antnee "Antnee (2 commits)")[![Hodgy](https://avatars.githubusercontent.com/u/1502446?v=4)](https://github.com/Hodgy "Hodgy (1 commits)")

### Embed Badge

![Health badge](/badges/brunty-phpunit-vicious-mockery/health.svg)

```
[![Health](https://phpackages.com/badges/brunty-phpunit-vicious-mockery/health.svg)](https://phpackages.com/packages/brunty-phpunit-vicious-mockery)
```

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k136.1M979](/packages/brianium-paratest)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M341](/packages/drupal-core-dev)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

30314.4k7](/packages/webmozarts-strict-phpunit)

PHPackages © 2026

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