首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法使用phpunit运行测试套件

问无法使用phpunit运行测试套件
EN

Stack Overflow用户
提问于 2019-04-27 22:44:18
回答 1查看 35关注 0票数 0

我正试着在我的"Homestead“流浪汉盒子里做一个phpunit测试套件。我只有12个测试..

它工作得很好,但是突然我不能再运行它了..它会给我这个错误:

代码语言:javascript
复制
vagrant@homestead:~/code/ticketbeast$ ./vendor/bin/phpunit
PHPUnit 7.5.9 by Sebastian Bergmann and contributors.

......PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/vagrant/code/ticketbeast/vendor/laravel/framework/src/Illuminate/Validation/Validator.php on line 315
PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /home/vagrant/code/ticketbeast/vendor/symfony/debug/Exception/FatalErrorException.php on line 1

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /home/vagrant/code/ticketbeast/vendor/laravel/framework/src/Illuminate/Validation/Validator.php on line 315

Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /home/vagrant/code/ticketbeast/vendor/symfony/debug/Exception/FatalErrorException.php on line 1
EN

回答 1

Stack Overflow用户

发布于 2019-04-28 00:03:07

似乎有一个(回调函数)在一些测试中引起了我的问题。现在一切都正常了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55881686

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档