Pengujian
DiperkenalkanDalam pelajaran ini
| English | Makna |
|---|---|
| test strategy/test ˈstrætədʒi/ | |
| function/ˈfʌŋkʃn/ | A mapping that assigns exactly one output to each allowed input. |
| remedial action | |
| test data/test ˈdeɪtə/ | |
| live data | |
| extreme data/ekˈstriːm ˈdeɪtə/ | |
| test plan/test plæn/ |
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.
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
Extreme data is at the limit and should be accepted.
A field accepts ages 16 to 65. Which is extreme data?
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
65 is the other extreme value.
Which columns appear in a test plan?
Kesulitan 2/5 · 140 koin + bonus kecil pada penyelesaian pertama hari ini
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.
Kesulitan 1/5 · 100 koin + bonus kecil pada penyelesaian pertama hari ini
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.
Apa yang salah? Hanya tim situs yang dapat melihatnya.