kiwitcms / Kiwi

open source test management system with over 2 million downloads!
https://kiwitcms.org
GNU General Public License v2.0
982 stars 293 forks source link

Test Case Prerequisites (reference to other Test Cases) #2630

Open mahboc opened 2 years ago

mahboc commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] USER STORY: As a test planner, I would like to link certain Test Cases as Prerequisites to other Test Cases.

Describe the solution you'd like A clear and concise description of what you want to happen. _Two methods to capture prerequisites:

There should also be a UI scheme to show link mapping, graphically, tree view etc._

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. This can be documented in the setup but having dedicated object links provides more clarity and reduces copy-paste errors.

Additional context Add any other context or screenshots about the feature request here. This would help defined a more logical flow to a test plan & test flow

atodorov commented 2 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] USER STORY: As a test planner, I would like to link certain Test Cases as Prerequisites to other Test Cases.

Additional context Add any other context or screenshots about the feature request here. This would help defined a more logical flow to a test plan & test flow

I think these 2 bits are critical here. Unless the prerequisites are somehow integrated with the rest of Kiwi TCMS simply linking them will not do much good, it will be a marginal improvement. IMO if these are true prerequisites then you will probably want to track execution results on them which changes the scope of this feature request.

Can you elaborate more on how you envision this feature to be used or to work?

Describe the solution you'd like A clear and concise description of what you want to happen. _Two methods to capture prerequisites:

* Link Other Test Cases by ID as prerequisites

* TextArea Field for Prequesite freeform notes (for prereqs that are not in Kiwi/Nitrate)

ATM you have Requirements and Reference link fields which while not a text area will let you add a URL to external document, which is very similar. Without extra integration/info I don't see how having more fields in the database will make that more useful to the tester. What's your vision here ? Or what problem are you trying to solve ?

mahboc commented 2 years ago

This is most useful when when setting up Functional Testing Test Plans and how fine grained the test cases a user wishes to go.

For example: Test Case 1: Create User - Validate Data Inputs Test Case 2: Validate New Invite Email is sent Test Case 3: Validate New user password (after clicking invite)

Each one of these has a prerequisite of the previous. Rather than document you need to #1 Create User in the #2 "Setup" field you just make the link.

This could also be achieved with a new data model such as "Test Sequence" and you could add Test Cases into this model where the order is adhered to in a "Test Run".