• Home
Name Date Size #Lines LOC

..--

auto_xts_test/12-May-2024-409280

performance_test/12-May-2024-1,111907

sdk_test/12-May-2024-2,2151,728

email_config.yamlD12-May-20241.5 KiB3621

readme.mdD12-May-2024752 1916

readme_zh.mdD12-May-2024792 2017

send_email.pyD12-May-20243.2 KiB9564

timer.pyD12-May-20241.3 KiB4721

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. Send the result by Email
9
10## Usage
11### How to work
12In timer.py, it will run downloading sdk,xts, sdk_test,performance_test, and send email, you can delete any of them if you don't need run the test.
13If you do not want to run test immediately, delete run_all()
14Set email infos in email_config
15### Note
16It will find the daily build in last 24 hours, if failed to download, the test will stop.
17Do not close the cmd or terminal, or it will not run at the time you specified.
18All tests can run without others, read the seperate readme for more details.
19

readme_zh.md

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