Skip to content

Commit 3c6efff

Browse files
committed
docs: add notes
1 parent 5183ae7 commit 3c6efff

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
title: 第1章 软件测试的基本概念
3+
# cover: /assets/images/cover1.jpg
4+
icon: page
5+
# This control sidebar order
6+
order: 1
7+
author: ChiChen
8+
date: 2024-05-06
9+
category:
10+
- 课程笔记
11+
tag:
12+
- 软件测试与维护
13+
# this page is sticky in article list
14+
sticky: false
15+
# this page will appear in starred articles
16+
star: false
17+
footer:
18+
isOriginal: true
19+
copyright: 转载请注明出处
20+
---
21+
22+
## Fault, Error and Failure
23+
24+
- 软件故障(Fault):软件中的静态缺陷。
25+
- 软件失败(Failure):相对于需求或其他预期行为的描述,表现出的外部错误行为。
26+
- 软件错误(Error):某些故障表现出的错误内部状态。
27+
28+
> [!note] 例如
29+
>
30+
> - 患者向医生提供一份症状清单——失败
31+
> - 医生尝试诊断根本原因,即疾病——故障
32+
> - 医生可能会寻找异常的内部状况(高血压、心律不齐、血液中的细菌)——错误
33+
34+
## Bug
35+
36+
- Bug 可能是 Fault, Error 或者 Failure
37+
- Bug 往往出现在`软件规约(Software Specification)`阶段
38+
39+
## What Effort Goes Into a Software Product
40+
41+
### 用户需求(Customer Requirements)
42+
43+
- 需要了解用户需求
44+
- 通常需要通过调研同类产品,用户调查等方式进行
45+
- 为了决定产品最终要包含哪些`features`
46+
47+
### 软件规约(Specifications)
48+
49+
- 格说明汇集了所有这些信息以及任何未明确表述但又是强制性的要求,真正定义了产品将是什么、将做什么以及它将呈现什么样子。
50+
51+
### 进度计划(Scheduling)
52+
53+
- 目的是为了判断当前的完成进度
54+
55+
### 文档
56+
57+
软件设计文档
58+
- 架构
59+
- 数据流图
60+
- 状态转换图
61+
- 流程图
62+
- 代码注释
63+
测试文档
64+
- 测试计划
65+
- 测试用例
66+
- 错误报告
67+
- 测试工具和自动化
68+
- 指标、统计和总结
69+
70+
## What Parts Make Up a Software Product?
71+
72+
![alt text](image/Chapter1-Basic-Concepts-of-Software-Testing/image.png)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
title: 软件测试与维护
3+
icon: lightbulb
4+
---
219 KB
Loading

0 commit comments

Comments
 (0)