582 views
3 votes
Given the following priorities and dependencies for these test cases:

Test Case Priority Technicaldependency on: Logicaldependency on:
TC1 High TC4
TC2 Low
TC3 High TC4
TC4 Medium
TC5 Low TC2
TC6 Medium TC5
Which of the following test execution schedules BEST considers the priorities and technical and logical dependencies?
A. TC1 - TC3 - TC4 - TC6 - TC2 - TC5
B. TC4 - TC3 - TC1 - TC2 - TC5 - TC6
C. TC4 - TC1 - TC3 - TC5 - TC6 - TC2
D. TC4 - TC2 - TC5 - TC1 - TC3 - TC6

User Xaarth
by
8.7k points

1 Answer

0 votes

Final answer:

The test execution order that best considers the given priorities and dependencies is TC4, followed by TC1, TC3, TC2, TC5, and finally TC6.

Step-by-step explanation:

To schedule the test case execution considering the given priorities and dependencies, we should first address the technical dependencies, ensuring that all prerequisites are met, and then execute based on the highest priority. Given the dependencies, TC4 does not have any dependencies and should be executed first. Following TC4, we can execute TC1 which depends technically on TC4, and logically it has a high priority.

After fulfilling TC1's requirement, we move on to TC3, which also has a high priority and depends on the execution of TC4. With TC1 and TC3 completed, we can look into the test cases with medium and low priority. Since TC5 depends on TC2, we need to execute TC2 before TC5. Lastly, TC6 can be run after TC5 has been executed. Therefore, the order that takes all factors into account effectively would be TC4 - TC1 - TC3 - TC2 - TC5 - TC6.

User Ahsaan Yousuf
by
7.8k points