Closed Bug 488264 Opened 16 years ago Closed 16 years ago

Test Case dependencies are ignored

Categories

(Testopia :: Test Runs, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: nuabaranda, Assigned: gregaryh)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729) Build Identifier: Testopia 2.2 on Bugzilla 3.2.3 If I understand the Testopia manual correctly it should not be possible to set a dependent Test Case Run to PASSED if the prerequisit Test Case did not pass. But not matter in which status the prerequisit Test Case is, I can always set the status of the dependent Test Case Run to every possible value. Reproducible: Always Steps to Reproduce: 1. Create a Test Run with 2 Test Cases, one depending on the other. 2. Start the Test Run 3. Set the prerequisit test to FAILED (or any other not-PASSED status). 4. Set the dependent Test Case to PASSED. This should not be possible. Actual Results: Any possible status combination of the 2 dependent Test Cases is possible to be set. Expected Results: When the prerequisit failed, the dependent Test Case should be set to BLOCKED and it should not be possible to change its status until the prerequisit is set to PASSED.
I am also seeing the same thing. According to the manual: "If a test case that blocks another test case fails, and both of them are in a single run, the blocked test case will automatically receive a status of BLOCKED." Doing this does not work as described. We have used the steps that nuabaranda@web.de to reproduce that as well. We also had two test cases: TC001 - does not depend on anything, but BLOCKS TC002 TC002 - Depends on TC001 and blocks nothing. Setting TC001 to failed has no affect on TC002. We are able to set TC002 to any status we want. No matter if we refresh, log out log back in. We "assume" that the status of TC002 should become BLOCKED.
(In reply to comment #0) > If I understand the Testopia manual correctly it should not be > possible to set a dependent Test Case Run to PASSED if the prerequisit > Test Case did not pass. But not matter in which status the prerequisit Test > Case is, I can always set the status of the dependent Test Case Run to every > possible value. You misunderstand. If case A blocks case B and A fails then B will get a status of blocked automatically but only if they are in the same run. However, it is still possible to change the status on B to whatever you like. It does not prevent you from changing the status from BLOCKED to something else.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
I am not seeing the status of test B going to BLOCKED. I understand you can change that to anything you want. I am never seeing it go to BLOCKED, even if I refresh, or log out and then back in again. The status is not changing.
(In reply to comment #3) > I am not seeing the status of test B going to BLOCKED. I understand you can > change that to anything you want. I am never seeing it go to BLOCKED, even if I > refresh, or log out and then back in again. The status is not changing. What version are you running? I am not able to reproduce this as described. It seems to be working for me.
We are using Testopia 2.2 and Bugzilla 3.2.3
You need to log in before you can comment on or make changes to this bug.