Which of the following statements about use-case testing are most accurate?

Which of the following statements about use-case testing are most accurate?

(i) In a use-case diagram an actor represents a type of user.

(ii) Use-cases are the most common test basis for unit testing.

(iii) A use-case describes interactions between actors.

(iv) An actor is always a human user that interacts with the system.

(v) Test cases can be based on use-case scenarios.

(vi) Use-case testing will often identify gaps not found by testing individual components.
A . ii, iii, iv, v
B . i, iii, v, vi
C . i, ii, iv, v
D . iii, iv, v, vi

Answer: B

Explanation:

Use-case testing is a technique that uses use-cases as a test basis to derive test cases2. A use-case is a description of interactions between actors and a system to achieve a goal2. An actor represents a type of user or anything that interacts with the system2. Use-cases are not the most common test basis for unit testing, as they are more suitable for higher levels of testing such as system or acceptance testing3. An actor is not always a human user, as it can also be another system or device2. Test cases can be based on use-case scenarios, which are sequences of actions and events that occur during a use-case execution2. Use-case testing will often identify gaps not found by testing individual components, as it can reveal missing or incorrect requirements, integration issues, and usability problems.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments