ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 240 - CTFL4 discussion

Report
Export

For each test case to be executed, the following table specifies its dependencies and the required configuration of the test environment for running such test case:

Assume that C0NF1 is the initial configuration of the test environment Based on this assumption, which of the following is a test execution schedule that is compatible with the specified dependencies and allows minimising the number of switches between the different configurations of the test environment^

A.
TC4, TC3, TC2, TC1, TC5.
Answers
A.
TC4, TC3, TC2, TC1, TC5.
B.
TCI, TC5, TC4, TC3, TC2
Answers
B.
TCI, TC5, TC4, TC3, TC2
C.
TC4, TC3, TC2, TC5, TC1.
Answers
C.
TC4, TC3, TC2, TC5, TC1.
D.
TC4, TC1, TC5, TC2, TC3
Answers
D.
TC4, TC1, TC5, TC2, TC3
Suggested answer: A

Explanation:

To determine the optimal test execution schedule that minimizes the number of configuration switches and respects the dependencies, we start with the initial configuration, CONF1.

TC4: It has no dependencies and runs on CONF1 (initial configuration).

TC3: Depends on TC4 and runs on CONF1. Since TC4 is already executed, we can proceed with TC3.

TC2: Depends on TC4 and runs on CONF2. We switch to CONF2 after TC3.

TC1: No dependencies and runs on CONF2. Since we are already in CONF2, we can execute TC1 next.

TC5: Depends on TC1 and runs on CONF2. Since TC1 is already executed, we can proceed with TC5 without additional configuration switches.

By following this sequence (TC4, TC3, TC2, TC1, TC5), we respect the dependencies and minimize the number of configuration switches

asked 18/09/2024
Alfredo Alfaro
47 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first