itsallcode / openfasttrace

Open source requirement tracing suite
GNU General Public License v3.0
101 stars 21 forks source link

XML exporter #260

Closed poldi2015 closed 3 years ago

poldi2015 commented 3 years ago

Openfasttrace provides basic reports for commandline and HTML. In many projects these reports do not cover all requirements (e.g. customer specific style, statistics, search, sort, filter facabilties etc.). Therefore openfastrace should be able to report a computer processable report with all imported requirements, relevant information of covering requirements per requirement, shallow and transient coverage status per requirement, some statistics.

wreggyl commented 3 years ago

SpecObjes are already supported for single reqs/spec items, Is ReqIF as the whole XML a valid option in your opinion? I am really new to ReqIF and OFT, so sorry for this question?

ahh - got the point that the SpecObj for export is not the SpecObj in ReqIF - both are XMLs but with different format. Maybe a XSD for the SpecObj is a good point to make this clearer

redcatbear commented 3 years ago

The XML export in the SpecObject format is very close to OFT's internal representation. Unlike RIF (ReqIF's predecessor), OFT intentionally uses a predefined, restricted set of attributes. We focus more on speed and covering the 80% case instead of maximum flexibility. It is probably possible to losslessly export OFT requirements to ReqIF, but I doubt the other direction would be lossless.

The SpecObject format was established in the Automotive Software industry and is a format that grew over the years. OFT was made with the goal to be able to ingest and produce SpecObject files to act as a drop-in replacement for SpecObject-capable toolchains.

kaklakariada commented 3 years ago

@redcatbear what do you think about providing an XML schema for OFT's SpecObject format? This might help consumers processing it.

It could also help verifying that OFT produces valid output.