Skip to content

Commit

Permalink
try a TimeAndMemoryTestListener
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 3, 2021
1 parent 78f49fc commit a68221f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"php": "^8.0",
"ext-dom": "*",
"ext-json": "*",
"atrapalo/phpunit-memory-and-time-usage-listener": "^1.0",
"composer/semver": "^3.2",
"composer/xdebug-handler": "^2.0",
"danielstjules/stringy": "^3.1",
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@
</testsuite>
</testsuites>

<listeners>
<listener class="\PhpunitMemoryAndTimeUsageListener\Listener\Measurement\TimeAndMemoryTestListener"/>
</listeners>

<php>
<ini name="memory_limit" value="-1" />
<env name="XDEBUG_MODE" value="coverage"/>
Expand Down

0 comments on commit a68221f

Please sign in to comment.