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

lobster-cpptest should support dynamic marker strings #98

Open
TannazVhdBMWExt opened this issue Oct 14, 2024 · 0 comments
Open

lobster-cpptest should support dynamic marker strings #98

TannazVhdBMWExt opened this issue Oct 14, 2024 · 0 comments
Assignees

Comments

@TannazVhdBMWExt
Copy link
Contributor

TannazVhdBMWExt commented Oct 14, 2024

In current version lobster-cpptest supports just "defect", "requirement" and "requiredby".

The goal is to make the tool configurable, and to remove the restriction of supporting only "requirement" and "requiredby".

The user shall be able to configure the marker strings.

  • If the user specifies the same output file for several markers, then the elements shall be written into the same file.
  • Elements shall not appear twice in a single file.
  • If an element contains several markers, then the element shall be written into all files specified by the marker.

Config file should be modified and be like:

{ "output": { "unit_tests.lobster" : { regex: [ "\+w?*{@requirement}...", "\[0-9]?*{@other_requirement}..." ], kind: "req" }, { regex: [ "\+w?*{@required_by}...", "\[0-9]?*{@kjasdasd}..." ], kind: "imp" }, } }

@TannazVhdBMWExt TannazVhdBMWExt self-assigned this Oct 14, 2024
TannazVhdBMWExt added a commit that referenced this issue Oct 15, 2024
The config file has been adapted. the regex should be provided. The tests are being extracted based on provided regex.

Resolves #98
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant