Files
addons
app_download_files
extend
hyhproject
mobile
oss
static
thinkphp
upload
vendor
5ini99
composer
oss-sdk
swoole
.github
benchmark
examples
include
src
tests
include
swoole_async
swoole_atomic
swoole_buffer
swoole_channel
swoole_client_async
swoole_client_coro
swoole_client_sync
swoole_coroutine
swoole_coroutine_channel
swoole_coroutine_util
swoole_event
swoole_function
swoole_http2_client
swoole_http2_client_coro
swoole_http_cilent_coro
swoole_http_client
swoole_http_server
swoole_https_client
swoole_lock
swoole_memory_pool
swoole_mysql
swoole_mysql_coro
swoole_process
swoole_redis
swoole_redis_coro
swoole_redis_server
swoole_serialize
swoole_server
swoole_server_port
swoole_socket_coro
swoole_table
swoole_timer
swoole_websocket_server
CONTRIBUTION
README.md
clean
coro_test.sh
new.sh
run-tests
start.sh
template.phpt
test-all-version.sh
test.sql
thirdparty
tools
travis
.gitignore
.gitmodules
.travis.yml
CMakeLists.txt
CREDITS
LICENSE
README.md
Version2.md
build.sh
clear.sh
config.m4
make.sh
package.xml
php7_wrapper.h
php_swoole.h
swoole.c
swoole_async.c
swoole_atomic.c
swoole_buffer.c
swoole_channel.c
swoole_channel_coro.cc
swoole_client.c
swoole_client_coro.c
swoole_config.h
swoole_coroutine.cc
swoole_coroutine.h
swoole_coroutine_util.c
swoole_event.c
swoole_http.h
swoole_http_client.c
swoole_http_client.h
swoole_http_client_coro.c
swoole_http_server.c
swoole_http_v2_client.c
swoole_http_v2_client.h
swoole_http_v2_client_coro.c
swoole_http_v2_server.c
swoole_lock.c
swoole_memory_pool.c
swoole_mmap.c
swoole_msgqueue.c
swoole_mysql.c
swoole_mysql.h
swoole_mysql_coro.c
swoole_postgresql_coro.c
swoole_postgresql_coro.h
swoole_process.c
swoole_process_pool.c
swoole_redis.c
swoole_redis_coro.c
swoole_redis_server.c
swoole_ringqueue.c
swoole_runtime.cc
swoole_serialize.c
swoole_serialize.h
swoole_server.c
swoole_server_port.c
swoole_socket_coro.c
swoole_table.c
swoole_timer.c
swoole_trace.c
swoole_websocket_server.c
wechat
.htaccess
autoload.php
wxtmp
.gitignore
.htaccess
.user.ini
404.html
H5436787D.wgt
admin.php
app-release.apk
app_download.html
cash.lock
demo.php
get_version.php
get_version_new.php
index.html
index.php
reg.lock
robots.txt
qlg.tsgz.moe/vendor/swoole/tests
2019-09-06 23:53:10 +08:00
..
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00
2019-09-06 23:53:10 +08:00

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).