Connecting Requirements to tests #1640
Replies: 3 comments 6 replies
-
I'll have to adjust my question a bit here. Through taking a closer look at the grammar and the specific relations I saw that I can create [TESTCASE] elements without any hassle and also define a 'verifies' parent relationship between the test case and the requirement. For the part of linking test cases (maybe automatically in the context of CI) I could then use the file location to a test case result summary file with the verdict. |
Beta Was this translation helpful? Give feedback.
-
We are looking for something similar to this at my workplace. (Thanks @i-interprete-on-the-fly for starting the discussion!) I'm imagining something similar to TDD, but for requirements (call it RDD?):
At the end of the day when you have fully specified the system and all its requirements are covered by passing tests, you should be able to have confidence that your job is done. Fully specifying the system with requirements would be up to the human in the loop, whereas StrictDoc could handle linking requirements to tests and test results. It would be super helpful to have a UI view similar to Traceability Matrix. Except instead of file details, it would focus on a minimal view involving just requirement titles or UIDs and a color/symbol/something to indicate the status of your requirements. This would make it easy to visualize progress on bringing a developing system to completion. Here's an example diagram that show roughly what I'm thinking: In this diagram, the overall status of "SYSTEM SPEC" is equivalent to the worst status of any of its children, PASS being best, FAIL being worse, and NONEXISTENT being the worst. Hopefully that makes sense. And maybe in the future it could be a little more granular so as to understand what percentage of tests are passing in the "FAIL" case, something like we already have on the Source Coverage UI view: Maybe this could be associated with a project feature called "REQUIREMENT_DRIVEN_DEVELOPMENT" or similar. Mostly just ideating here, and still familiarizing myself with all that StrictDoc has to offer. Let me know if there are current features I'm missing that it already has, or if this is something that would otherwise fit on the roadmap! |
Beta Was this translation helpful? Give feedback.
-
I would like to connect this thread with another thread: #2009. Just to make sure you are aware of both threads @i-interprete-on-the-fly @mplum @nogjam @johanenglund. I have been busy doing something else with StrictDoc but I will come back to this topic within this week. |
Beta Was this translation helpful? Give feedback.
-
Hey,
does StrictDoc also aim to enable traceability between the requirements and respective test cases? (and maybe also accommodate for test result display in some format)?
What I currently need would be comprehensive traceability system between Requirements, refined requirements, their source code implementation and also a linkage to test cases.
Edit - To provide more context: I want to introduce this tool for requirements management in the ASPICE relevant projects of my company. I think I could technically represent the test cases as [REQUIREMENT] elements with relations as the tests being the childs of the requirements but I'm not sure if this is the most elegant way and also if you may have another possible solution in mind.
Thank you for this nice tool!
Beta Was this translation helpful? Give feedback.
All reactions