Exam CTFL All QuestionsBrowse all questions from this exam
Question 27

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.

    Correct Answer: B

    In use-case testing, an actor represents a type of user (not necessarily a single user, but rather a role played by any user). Use-cases are typically high-level interactions and are not primarily used as a test basis for unit testing. Rather, use-cases are more relevant in integration and system testing. A use-case indeed describes interactions between actors and the system. Moreover, an actor in a use-case diagram does not have to be a human; it can also be another system or entity that interacts with the system being modeled. Test cases can be derived from use-case scenarios to ensure that the interactions work as expected. Use-case testing tends to reveal issues not easily found during component-level testing because it examines the interactions and flow of activities across the system. Thus, options i, iii, v, and vi are the most accurate statements pertaining to use-case testing.

Discussion
0b82866Option: B

B for sure

laraerfOption: B

B is correct

MthethoOption: B

B. i, iii, v, vi

MthethoOption: B

B. i, iii, v, vi