N this chapter, we will introduce you to the fundamentals of testing: why testing is


partitioning, boundary value analysis, decision tables and



tải về 6.34 Mb.
Chế độ xem pdf
trang9/25
Chuyển đổi dữ liệu03.04.2023
Kích6.34 Mb.
#54490
1   ...   5   6   7   8   9   10   11   12   ...   25
Foundations of Software Testing ISTQB Certification 3rd ed


partitioning, boundary value analysis, decision tables and
state transition diagrams/tables. (K3)
LO-4.3.2 Explain the main purpose of each of the four testing
techniques, what level and type of testing could use the
technique, and how coverage may be measured. (K2)
LO-4.3.3 Explain the concept of use case testing and its benefits. (K2)
In this section we will look in detail at four specification-based or black-box
techniques. These four techniques are K3 in the Syllabus
– this means that you
need to be able to use these techniques to design test cases. We will also cover
briefly (not at K3 level) the specification-based technique of use case testing. In
Section 4.4, we will look at the K3 structure-based techniques.
In this section, look for the definitions of the glossary terms boundary value,
boundary value analysis, decision table, decision table testing, equivalence parti-
tion, equivalence partitioning, state diagram, state table, state transition testing, and
use case testing.
The four specification-based techniques we will cover in detail are:
l
equivalence partitioning;
l
boundary value analysis;
l
decision tables;
l
state transition testing.
Note that we will discuss the first two together, because they are closely related.
4.3.1 Equivalence partitioning and boundary value analysis
Equivalence partitioning
Equivalence partitioning (EP) is a good all-round specification-based black-box
technique. It can be applied at any level of testing and is often a good technique to
use first. It is a common sense approach to testing, so much so that most testers
practise it informally even though they may not realize it. However, while it is better
to use the technique informally than not at all, it is much better to use the technique
in a formal way to attain the full benefits that it can deliver. This technique will be
found in most testing books, including [Myers 1979] and [Copeland 2003].
The idea behind the technique is to divide (i.e. to partition) a set of test conditions
into groups or sets that can be considered the same (i.e. the system should handle
Equivalence
tải về 6.34 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   5   6   7   8   9   10   11   12   ...   25




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương