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 yesterday

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

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M571](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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