1 Star 0 Fork 0

andy-c/swoole-src

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

PHP Unit-test

Run these tests to make certain that the swoole extension you installed can work well.

How to run

  1. Run all of the test scripts on source root dir by make test
  2. Or run ./strart.sh
  3. use./start.sh ./swoole_* command to run a part of the tests

Log files

suffix intro
diff show the differents between output and expect
out script output
exp expect output
log all above
php php temp script file

Clean

Run ./clean to remove all of the tests log files.

Contribute the test script

Run ./new.sh [test-script-filename]

E.g. : ./new.sh ./swoole-coroutine/co_sleep.phpt

It will generate the test script file and auto open on your ide (MacOS only).

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

搜索帮助