bmw-software-engineering / lobster

Lightweight Open BMW Software Traceability Evidence Report
GNU Affero General Public License v3.0
17 stars 7 forks source link

`lobster-cpptest` should support dynamic marker strings #98

Open TannazVhdBMWExt opened 1 month ago

TannazVhdBMWExt commented 1 month ago

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.

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" }, } }