Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theodo/phpunit-extra
Improve the performance of your PHPUnit test suite
https://github.com/theodo/phpunit-extra
phpunit phpunit-extension phpunit-tests
Last synced: 2 months ago
JSON representation
Improve the performance of your PHPUnit test suite
- Host: GitHub
- URL: https://github.com/theodo/phpunit-extra
- Owner: theodo
- Created: 2019-02-14T10:24:27.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T16:14:08.000Z (about 5 years ago)
- Last Synced: 2024-10-05T08:05:11.681Z (3 months ago)
- Topics: phpunit, phpunit-extension, phpunit-tests
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 19
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PHPUnit Extra
PHPUnit Extra provides a PHPUnit listener to improve performance of your
PHPUnit test suites by cleaning up classes variables at the end of each
TestCase. Thanks [Kris Wallsmith for this tip](http://kriswallsmith.net/post/18029585104/faster-phpunit).## Installation
### Step 1: Install the library
Open a command console, enter your project directory and execute the
following command to download the latest stable version of this bundle:```console
$ composer require --dev theodo/phpunit-extra
```This command requires you to have Composer installed globally, as explained
in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
of the Composer documentation.### Step 2: Configure the listener in PHPUnit
For PHPUnit >= 7.5, add the extension in your XML config file (e.g. `phpunit.xml.dist`).
```xml
```
For PHPUnit < 7.5 add the listener in your XML config file (e.g. `phpunit.xml.dist`).
```xml
```