Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT-REQ] documentation for in-code requirements #61

Open
josecm opened this issue Mar 18, 2023 · 5 comments
Open

[FEAT-REQ] documentation for in-code requirements #61

josecm opened this issue Mar 18, 2023 · 5 comments
Assignees
Labels
feature-request A request for a new future feature

Comments

@josecm
Copy link
Member

josecm commented Mar 18, 2023

We have code documentation guidelines using doxygen and requirement documentation, but we are missing the link between the two that will allow us to have full traceability.

The solution we previously discussed wat to add guidelines to use custom doxygen tags to link a given excerpt of code to one or many requirements.

@josecm josecm added the feature-request A request for a new future feature label Mar 18, 2023
@danielRep
Copy link
Member

That solution for seems plausible. Should the requirement on the doxygen have a URL to the req plus the req ID ? Where should the link forward, bao-docs or bao-reqs?

@josecm
Copy link
Member Author

josecm commented Mar 18, 2023

I'm thinking only a req ID. Otherwise, the code will be too convoluted, and the URL can be broken.

@josecm josecm changed the title [FEAT-REQ] documentation for in-code requirement [FEAT-REQ] documentation for in-code requirements Mar 18, 2023
@DavidMCerdeira
Copy link
Member

If I correctly remember the previous conversations we've had about this, the idea was to generate a link with a custom tag that would should on the output documentation.

I think you're talking about having links in the doxygen comment directly.
From a usability standpoint I think it's worth it to keep the links up to date if they break. That said, I don't really like the idea of having URLs in the code, so having the links be generated based on the ID is a good middle ground.

@danielRep
Copy link
Member

Yes, I agree with having links generated based on the ID. How should we start approaching this? What's the status on the bao-reqs @DavidMCerdeira ?

@DavidMCerdeira
Copy link
Member

We need to finish all layers of requirements before mapping them to code.

  1. Threats and assumptions
  2. Objectives
  3. High level requirements
  4. Design level requirements
  5. Implementation level requirements -> these are the ones that should be mapped to code using doxygen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A request for a new future feature
Projects
None yet
Development

No branches or pull requests

4 participants