grading_rules #33
openrule_CCFCAT全国测试开发大赛-省赛-接口自动化测试(第一次)
0%
- desc: 没有 http 工具得0分,使用 http 工具得5分。
max: 5
min: 0
name: 是否使用 http 工具
- desc: 没有包含 https://thingsboard.stu.hogwarts.ceshiren.com 得0分,包含 https://contest.gitlab.ceba.ceshiren.com/api/v4
得5分。
max: 5
min: 0
name: 是否请求 gitlab 接口
- desc: 没有包含 X-Authorization 得0分,包含 X-Authorization 得4分。
max: 4
min: 0
name: 使用添加鉴权头信息
- desc: 没有包含 api/customers 得0分,包含 api/customers 得4分。
max: 4
min: 0
name: 是否请求 issue 相关接口
- desc: 测试文件中没有断言得0分,测试文件中有断言得3分。
max: 3
min: 0
name: 是否有断言
- desc: 没有使用分层框架设计模式得0分,使用了分层框架设计模式得3分。
max: 3
min: 0
name: 是否使用分层框架设计模式
- desc: 没有使用测试装置得0分,使用测试装置得2分。
max: 2
min: 0
name: 是否使用测试装置
- desc: 没有使用 allure 得0分,使用了 allure 得2分。
max: 2
min: 0
name: 是否使用 allure 生成测试报告
- desc: 没有注释0分,有注释得1分。
max: 1
min: 0
name: 注释
- desc: 代码编写不符合规范得0分,代码编写符合规范得1分
max: 1
min: 0
name: 代码编写规范
- desc: 代码编写不符合规范得0分,代码编写符合规范得1分
max: 1
min: 0
name: 是否生成 allure 报告
- desc: 是否是基于人工智能生成的作弊代码,返回min最小分,无作弊嫌疑得max分
max: 0
min: -5
name: 是否是基于人工智能生成的作弊代码
No data to display