124 Star 566 Fork 132

GVPswoft/swoft

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Tests

API tests

If you want to run api tests, you must start the http server.

tests case dir: /test/api/

Start server

php bin/swoft http:start
# OR
php bin/swoft http:start -d

Run api tests

php test/run.php -c phpunit.xml --testsuite apiTests

Unit tests

tests case dir: /test/unit/

Run unit tests

php test/run.php -c phpunit.xml --testsuite unitTests

Http tests

tests case dir: /test/httptest/

If you want to run http client tests, you must start the http server.

Run http tests

Can only be run inside phpstorm.

http-client-tests

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/swoft/swoft.git
git@gitee.com:swoft/swoft.git
swoft
swoft
swoft
master

搜索帮助