如何使用 phpdbg 生成单元测试覆盖率 #3389
PandaLIU-1111
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
如何运行代码测试
可以使用一下命令来运行代码测试
如何查看代码覆盖率
需要在
phpunit.xml
文件下添加如下配置问题解决方法
Too many open files
如果遇到
Too many open files
可以增加文件打开限制ulimit -n 500000
Linux下无法使用swoole问题
phpdbg如果是自编译安装需要注意加载的php.ini问题,默认加载的php.ini是没有swoole扩展,需自己重新添加extension=swoole.so。
Beta Was this translation helpful? Give feedback.
All reactions