Merge pull request #20035 from woocommerce/add/phpunit-speedtrap

Add phpunit-speedtrap
This commit is contained in:
Mike Jolley 2018-05-11 15:19:04 +01:00 committed by GitHub
commit b0b135dfb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 54 additions and 2 deletions

View File

@ -18,7 +18,8 @@
"wimg/php-compatibility": "^8.0", "wimg/php-compatibility": "^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3", "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"apigen/apigen": "^4", "apigen/apigen": "^4",
"nette/utils": "~2.3.0" "nette/utils": "~2.3.0",
"johnkary/phpunit-speedtrap": "v2.0.0"
}, },
"scripts": { "scripts": {
"pre-update-cmd": [ "pre-update-cmd": [

50
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "bc2c57d2be29888a0e4c3a09ec26cbe3", "content-hash": "90e327f21ad7c717c91787def1f0cfec",
"packages": [ "packages": [
{ {
"name": "composer/installers", "name": "composer/installers",
@ -644,6 +644,54 @@
"abandoned": true, "abandoned": true,
"time": "2014-05-27T05:29:25+00:00" "time": "2014-05-27T05:29:25+00:00"
}, },
{
"name": "johnkary/phpunit-speedtrap",
"version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/johnkary/phpunit-speedtrap.git",
"reference": "a1e39e0e3d07e0faee4ef3f342229d68fab07b5f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/a1e39e0e3d07e0faee4ef3f342229d68fab07b5f",
"reference": "a1e39e0e3d07e0faee4ef3f342229d68fab07b5f",
"shasum": ""
},
"require": {
"php": ">=7.0",
"phpunit/phpunit": "^6.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
},
"autoload": {
"psr-4": {
"JohnKary\\PHPUnit\\Listener\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "John Kary",
"email": "john@johnkary.net"
}
],
"description": "Find slow tests in your PHPUnit test suite",
"homepage": "https://github.com/johnkary/phpunit-speedtrap",
"keywords": [
"phpunit",
"profile",
"slow"
],
"time": "2017-12-06T15:14:00+00:00"
},
{ {
"name": "justinrainbow/json-schema", "name": "justinrainbow/json-schema",
"version": "1.6.1", "version": "1.6.1",

View File

@ -44,4 +44,7 @@
</exclude> </exclude>
</whitelist> </whitelist>
</filter> </filter>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
</phpunit> </phpunit>