PHPackages                             icanhazstring/phpunit-trump-extension - 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. icanhazstring/phpunit-trump-extension

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

icanhazstring/phpunit-trump-extension
=====================================

Test as if there are no tests

601PHP

Since Dec 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/icanhazstring/phpunit-trump-extension)[ Packagist](https://packagist.org/packages/icanhazstring/phpunit-trump-extension)[ RSS](/packages/icanhazstring-phpunit-trump-extension/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Phpunit Trump Extension
=======================

[](#phpunit-trump-extension)

The "Trump Extension" will act as if there are no tests. This is because if you don't have tests, they can't fail right?

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

[](#installation)

You can install Trump Extension via [Composer](http://getcomposer.org)

```
composer require icanhazstring/phpunit-trump-extension:dev-main --dev

```

Usage
-----

[](#usage)

Just enable it by adding the following to your test suite's `phpunit.xml` file:

```

    ...

```

Now run your test suite as normal.

In CI tools environments, test suites execution will end with `No Tests execute!` ( exit code 0) whether or not your assertions are false or unwanted exceptions are thrown.

License
-------

[](#license)

phpunit-trump-extension is available under the MIT License.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

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

---

Top Contributors

[![icanhazstring](https://avatars.githubusercontent.com/u/883543?v=4)](https://github.com/icanhazstring "icanhazstring (3 commits)")[![teewurst](https://avatars.githubusercontent.com/u/7197260?v=4)](https://github.com/teewurst "teewurst (1 commits)")

### Embed Badge

![Health badge](/badges/icanhazstring-phpunit-trump-extension/health.svg)

```
[![Health](https://phpackages.com/badges/icanhazstring-phpunit-trump-extension/health.svg)](https://phpackages.com/packages/icanhazstring-phpunit-trump-extension)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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