Skip to content

Commit

Permalink
PB-28857 Require phpunit-speedtrap to track down slow tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloelcolombiano committed Nov 22, 2023
1 parent 226b8ea commit 5a7fd28
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@
"vierge-noire/cakephp-fixture-factories": "^v2.9.0",
"cakephp/localized": "4.0.0",
"vimeo/psalm": "^5.0.0",
"cakedc/cakephp-phpstan": "^2.0"
"cakedc/cakephp-phpstan": "^2.0",
"johnkary/phpunit-speedtrap": "^4.0"
},
"autoload": {
"psr-4": {
Expand Down
54 changes: 53 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
<extensions>
<extension class="\Cake\TestSuite\Fixture\PHPUnitExtension" />
</extensions>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener" />
</listeners>
</phpunit>

0 comments on commit 5a7fd28

Please sign in to comment.