From a1d7669a8d3513c01dcc2d2e8865da57a974ef24 Mon Sep 17 00:00:00 2001 From: limeng Date: Mon, 24 Jan 2022 17:52:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E7=BC=BA=E9=99=B7=E5=AE=9A?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/config.js | 5 +- .../.vuepress/theme/components/FriendLink.vue | 18 +-- docs/code/fastapi.md | 2 +- docs/quality/defect-grade.md | 130 ++++++++++++++++++ 4 files changed, 143 insertions(+), 12 deletions(-) create mode 100644 docs/quality/defect-grade.md diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index abff9fb..dc15286 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -62,10 +62,11 @@ module.exports = { {text:'基础 | Linux', link: '/code/linux'} ]}, {text: '测试开发', link: '/testdev', icon: 'reco-three'}, - {text: '质量体系', icon: 'reco-blog', + {text: '质量相关', icon: 'reco-blog', items:[ {text:'缺陷的生命周期', link: '/quality/bug-flow'}, - {text:'研发流程与规范', link: '/quality/dev-flow'} + {text:'研发流程与规范', link: '/quality/dev-flow'}, + {text:'缺陷等级标准', link: '/quality/defect-grade'} ]}, {text: '其他', icon: 'reco-other', items:[ diff --git a/docs/.vuepress/theme/components/FriendLink.vue b/docs/.vuepress/theme/components/FriendLink.vue index 073c043..eac1551 100644 --- a/docs/.vuepress/theme/components/FriendLink.vue +++ b/docs/.vuepress/theme/components/FriendLink.vue @@ -18,9 +18,9 @@ class="popup-window" :style="popupWindowStyle" ref="popupWindow"> - + + +

{{ item.title }}

@@ -120,12 +120,12 @@ export default { const currentDom = e.target currentDom.querySelector('.popup-window-wrapper').style.display = 'none' }, - getImgUrl (info) { - const { logo, email } = info - if (logo && /^http/.test(logo)) return logo - if (logo && !/^http/.test(logo)) return this.$withBase(logo) - return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x` - }, + // getImgUrl (info) { + // const { logo, email } = info + // if (logo && /^http/.test(logo)) return logo + // if (logo && !/^http/.test(logo)) return this.$withBase(logo) + // return `//1.gravatar.com/avatar/${this.getMd5(email || '')}?s=50&d=mm&r=x` + // }, _adjustPosition (dom) { const { offsetWidth } = document.body const { x, width } = dom.getBoundingClientRect() diff --git a/docs/code/fastapi.md b/docs/code/fastapi.md index af64c11..4b3a9e3 100644 --- a/docs/code/fastapi.md +++ b/docs/code/fastapi.md @@ -1,7 +1,7 @@ --- title: Fast Api date: 2022-01-03 -categories: Fast Api +categories: FastApi author: Anges黎梦 tags: - Fast Api diff --git a/docs/quality/defect-grade.md b/docs/quality/defect-grade.md new file mode 100644 index 0000000..82bd724 --- /dev/null +++ b/docs/quality/defect-grade.md @@ -0,0 +1,130 @@ +--- +title: 缺陷等级标准 +date: 2022-01-24 16:43:43:22 +categories: [质量体系] +author: Anges黎梦 +tags: +- 缺陷等级 +--- + +> 仅个人总结,提供参考,实际定级需要结合公司业务和场景评估。 + +# 缺陷等级标准 +> 说明:本文档包含,但并不仅限于以下内容!如有新内容,会随时更新 + +## 粗略分类 + +- P1 - 造成公司损失的BUG(金钱相关、功能宕机等) +- P2 - 造成业务主流程阻塞问题(流程不通,无法完成冒烟) +- P3 - 不影响业务主流程问题(例如:页面文字、展示异常) +- P4 - 非功能性缺陷、偶现缺陷、UI位置、颜色等 +- P5 - 体验相关建议等 + +## 详细分类 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
功能范围事件描述事件描述
缺陷&故障等级P1-致命P2-严重P3-一般P4-轻微P5-建议
前端页面/子页面布局页面无法加载展示主页面布局混乱
重叠无法正常查看
子页面布局异常等
布局正常,文字或者展示间距类似问题非功能性缺陷
偶现缺陷
体验相关
页面样式页面样式是否正常加载页面样式变化是否正常非功能性缺陷
偶现缺陷
体验相关
数据展示所有数据展示异常
undefined等
数据与需要展示数据不符数据变化异常
数据加载相关性能
个别数据展示异常undefined
非功能性缺陷
偶现缺陷
体验相关
功能逻辑本应发送请求但并未发送请求
请求参数错误引发的异常
主流程相关异常
请求后页面相关逻辑处理异常
必填项验证
数据缓存处理逻辑
异常场景相关异常
组合场景相关异常
多次请求、重复请求相关问题非功能性缺陷
偶现缺陷
体验相关
页面交互主流程交互失效主流程交互异常
非主流程功能失效
非主流程功能异常
异常/重复性交互异常
交叉交互引发的异常
功能异常但不影响流程体验相关
后端接口功能接口请求无法请求
接口返回值未按照约定返回
1.接口逻辑异常
2.接口入参出参异常
3.接口参数限制异常
4.接口返回值异常
5.接口事务控制异常
6.接口事务回退异常
1.接口异常场景(空值、异常值、缺少参数等)
2.接口请求限制
非常规请求引发异常体验相关
数据走向数据表设计与实际不符1.数据未按照指定走向变化
2.落库数据异常
3.数据变更异常
1.数据库长度、字段限制异常
2.数据库索引相关
2.数据库空值
其他页面性能单页面页面加载时间超过预设值页面并发或者持续压力下,超过预设值
接口性能接口并发是否会引发数据异常单接口响应时间超过预设值接口并发或持续压力下,超过预设值
数据1.数据同步处理超过预设值
2.数据相关线程锁、分布式锁向
3. 数据控制相关事务控制异常
4.数据控制相关事务回退异常
大体量下,数据同步是否阻塞
消息队列消息无法消费
消息队列相关消费情况,队列是否阻塞
消费处理异常