phpunit-headers-tests:示例如何在 phpunit 测试中使用 php 内部服务器

时间:2021-06-25 11:27:03
【文件属性】:
文件名称:phpunit-headers-tests:示例如何在 phpunit 测试中使用 php 内部服务器
文件大小:2KB
文件格式:ZIP
更新时间:2021-06-25 11:27:03
PHP 如何在phpunit中使用php内部服务器来测试响应头。 目标是找到一种在 phpunit 中测试响应头的方法。 我的方法不是保存,因为它使用 exec() 但总比没有好。 您可以使用 xdebug 替代。
【文件预览】:
phpunit-headers-tests-master
----server.php(117B)
----test.php(2KB)
----README.md(257B)

网友评论