• Home
Name Date Size #Lines LOC

..--

auto_xts_test/22-Oct-2025-14293

performance_test/22-Oct-2025-1,4081,174

sdk_test/22-Oct-2025-4,6813,783

utils/22-Oct-2025-1,246984

entry.pyD22-Oct-20252.2 KiB7340

readme.mdD22-Oct-2025820 2017

readme_zh.mdD22-Oct-2025878 2118

readme.md

1# Automatic tests for SDK
2
3## Purpose
41. Download daily sdk
52. Run xts test which in auto_xts_test
63. Run sdk_test which in sdk_test
74. Run performance test which in performance_test
85. Run spider script which in get commit log
96. Send the result by Email
10
11## Usage
12### How to work
13In entry.py, it will run downloading sdk,xts, sdk_test,performance_test, get commit log script, and send email, you can delete any of them if you don't need run the test.
14If you do not want to run test immediately, delete run_all()
15Set email infos in email_config
16### Note
17It will find the daily build in last 24 hours, if failed to download, the test will stop.
18Do not close the cmd or terminal, or it will not run at the time you specified.
19All tests can run without others, read the seperate readme for more details.
20

readme_zh.md

1# SDK自动化测试套
2
3## 脚本目的
41.下载当日的daily sdk
52.xts自动化测试,在auto_xts_test中
63.sdk自动化测试套,在sdk_test中
74.端到端构建性能测试,在performance_test中
85.获取仓库提交信息,在get_commit_log中
96.自动发送结果至指定邮箱
10
11## 脚本使用
12timer.py中,包含了下载sdk,xts, sdk_test,performance_test,获取每日提交信息脚本,以及发送邮件,如不需要可以去除。
13输入时间参数将会对任务进行定时,否则立即开始测试任务
14email_config中包含了邮箱的设置
15### 脚本运行
16使用命令python entry.py
17
18### 注意事项
19下载的SDK为24小时内的daily build,如果下载失败则会中断执行后续测试。
20不能关闭命令行,否则无法在指定时间触发。
21各项测试均可单独运行,详细配置请参考各自的readme。