Equivalence partitions

Chuyên đề thảo luận về kiểm thử hộp đen (Black-box Testing)
Forum rules
Chuyên đề này chỉ thảo luận về Black-box Testing.
Để có kết quả nhanh, các bạn nên search trước khi tạo chủ đề mới.
Post Reply
tvn
Admin
Posts: 4865
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

Equivalence partitions

Post by tvn » Mon 24 Dec, 2018 9:23 am

A program validates a numeric field as follows:

Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following input values cover all of the equivalence partitions?

A. 10, 11, 21
B. 3, 20, 21
C. 3, 10, 22
D. 10, 21, 22

Hãy chọn đáp án đúng.



tvn
Admin
Posts: 4865
Joined: Tue 10 Aug, 2010 10:11 am
Location: HCM
Contact:

Re: Equivalence partitions

Post by tvn » Mon 24 Dec, 2018 9:23 am

If the temperature falls below 18 degrees, the heating is switched on. When the temperature reaches 21 degrees, the heating is switched off. What is the minimum set of test input values to cover all valid equivalence partitions?

A. 15, 19 and 25 degrees
B. 17, 18, 20 and 21 degrees
C. 18, 20 and 22 degrees
D. 16 and 26 degrees



Post Reply

Return to “Black box Testing - Kiểm thử hộp đen”