https://github.com/icanhazstring/phpunit-trump-extension
"If We Stop Testing, We’d Have Fewer Cases"
https://github.com/icanhazstring/phpunit-trump-extension
Last synced: about 1 year ago
JSON representation
"If We Stop Testing, We’d Have Fewer Cases"
- Host: GitHub
- URL: https://github.com/icanhazstring/phpunit-trump-extension
- Owner: icanhazstring
- License: mit
- Created: 2020-12-08T10:25:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-11T21:49:11.000Z (over 5 years ago)
- Last Synced: 2025-05-09T01:15:08.192Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
You can install Trump Extension via [Composer](http://getcomposer.org)
composer require icanhazstring/phpunit-trump-extension:dev-main --dev
## Usage
Just enable it by adding the following to your test suite's `phpunit.xml` file:
```xml
...
```
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
phpunit-trump-extension is available under the MIT License.