ExamGecko
Question list
Search
Search

Related questions











Question 295 - CTFL-2018 discussion

Report
Export

Which statement about deriving test cases from a use case is TRUE?

A.
Test cases are designed to exercise the defined behaviours.
Answers
A.
Test cases are designed to exercise the defined behaviours.
B.
There should only be one test case for each use case.
Answers
B.
There should only be one test case for each use case.
C.
Test cases can only be derived if there is an activity diagram.
Answers
C.
Test cases can only be derived if there is an activity diagram.
D.
It is not possible to measure use case test coverage.
Answers
D.
It is not possible to measure use case test coverage.
Suggested answer: A

Explanation:

According to the syllabus, use case testing is a technique that tests the functionality of a system using scenarios based on use cases. A use case is a description of how an actor interacts with a system to achieve a goal. A use case defines the expected behaviour and possible variations of the system under test. The answer A is correct because test cases are designed to exercise the defined behaviours of the use case and its variations. The other answers are incorrect because they are not true statements about use case testing. There can be multiple test cases for each use case, depending on the complexity and variations of the use case. Test cases can be derived from other sources besides activity diagrams, such as textual descriptions or flow charts. It is possible to measure use case test coverage by comparing the number of executed test cases with the number of defined test cases for each use case.

asked 18/09/2024
Andrey Bozhko
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first