bmw-software-engineering / lobster

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

lobster shall support codebeamer items without summary #47

Closed phiwuu closed 1 month ago

phiwuu commented 2 months ago

Currently lobster-codebeamer creates an error message if the codebeamer item does not have a summary, see https://github.com/bmw-software-engineering/lobster/blob/64104c547f4adcb299b04bc118287d229f075e69/lobster/tools/codebeamer/codebeamer.py#L200 However, it is a legit use case to have codebeamer items without a summary. For example, some projects might decide to use only the description in codebeamer, and keep the summary empty. A possible reason for such a decision could be that, the requirements have been migrated from another database into codebeamer, and there was no summary field available in the previous database.

lobster-codebeamer currently creates a message in the resulting JSON file, and lobster-report then ignores the item in the computation of the coverage, and lobster-html-report prints an error message into the HTML report.

Hence I recommend to remove the restriction from lobster-codebeamer.