测试
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| test strategy/test ˈstrætədʒi/ | 测试策略 | cè shì cè lüè |
| function/ˈfʌŋkʃn/ | 函数 | hán shù |
| remedial action | 补救措施 | bǔ jiù cuò shī |
| test data/test ˈdeɪtə/ | 测试数据 | cè shì shù jù |
| live data | 实际运行数据 | shí jì yùn xíng shù jù |
| extreme data/ekˈstriːm ˈdeɪtə/ | 边界数据 | biān jiè shù jù |
| test plan/test plæn/ | 测试计划 | cè shì jì huà |
Find faults before users do
- A new system is tested before implementation. A fault found later can lose data or stop the business.
Design, strategy and plan
- Test design: what is tested: data and file structures, input and output formats, validation.
- Test strategy 测试策略: test each module, each function 函数, then the whole system.
| test | data | expected | actual | remedial action 补救措施 |
|---|---|---|---|---|
| mark 0–100 | 75 | accepted | accepted | none |
| 101 | error | accepted | fix range check |
Test data 测试数据
| type | meaning | for 1–10 |
|---|---|---|
| normal | accepted | 5 |
| extreme | at the limits, accepted | 1, 10 |
| abnormal | rejected | 11, 0, ten |
Age 16–65. Normal 30; extreme 16 and 65; abnormal 15, 66, abc.
A field accepts whole numbers 1 to 10. Match each value to its type of test data.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Extreme data is at the limit and should be accepted.
A field accepts ages 16 to 65. Which is extreme data?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
65 is the other extreme value.
Which columns appear in a test plan?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Remedial action is also included.
Live data 实际运行数据
- Live data is real data from the business. It shows the system works with real cases.
- Its results are often known from the old system, so outputs can be compared; personal data in it must be protected.
Live data is real data from the business.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Its results can be compared with the old system.
In testing, a mark of 101 is accepted by a field meant for 0–100. State the remedial action and why testing before implementation matters.
Fix, then explain the timing.
Extreme data 边界数据 is accepted. It sits on the boundary, inside the range; data just outside is abnormal.
Test modules, functions and the whole system with normal, extreme and abnormal data, recorded in a test plan 测试计划 with expected and actual outcomes and remedial action.
出了什么问题?只有网站团队能看到这些信息。