Test frame for kylin-X #9
guoweikang
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
第一种: 基础功能用例
特点: 时间短(5-10分钟) ,基础功能(musl libc)
用途:PR的 CI/CD用例
第二种: stress test
特点: 压力测试,测试极端条件和环境下 系统的功能; 允许异常,但是异常符合预期;内存压力;调度压力测试;
用途:系统对于异常情况的处理,验证我们对于异常极端条件的反应; OOM机制;
用途: 日构建版本(nightly)
第三种: 长稳测试
特点: 测试复杂功能场景(多任务并发,启动二十个进程,抢占资源) ;系统稳定性测试
用途: 灰度版本(release) 日构建版本
第四种:人工测试
特点: 测试复杂业务场景
用途: 正式版本
TEST repo:
make ci-test run: 预期行为:最新的提交 commit 编译(通过) 构建(制作基础功能用例镜像) 进入系统 完成 基础功能用例测试
make stress-test run: 预期行为:
make daily-test run: 预期行为:
make daily-test publish: 预期行为:
公共的预期行为: 测试失败还是成功; 失败的以后 失败的结果日志;
ci-test: run.sh a.sh(run a 1 2 4 ) b.sh sqlite.sh , 二级制测试:源码 a.rs a 测试框架
测试用例从哪里来:开发人员和测试人员;让别人能够方便的添加这些用例;
当一个新的功能开发以后,添加新的测试用例;
kylinx 目前主要关注一个架构: AARCH64
Beta Was this translation helpful? Give feedback.
All reactions