Reports
Turn a project into a document: a requirements specification, a ticket, or your own format.
Run a report
A project’s Reports page lists its report templates. Run builds the document from the project as it is now and downloads it.
Every new project gets four:
- HTML Specification
- The whole project as one web page: stakeholders, actors, goals, stories, use cases, scenarios and the glossary. See an example.
- Ticket (Markdown)
- The project as Markdown, to paste into an issue tracker.
- Gherkin Features
- The use cases as a Gherkin
.featurefile for Cucumber, behave or Reqnroll. Run asks for a tag; give one to export only the use cases with that tag, or leave it empty for all of them. How it maps. - ReqIF
- The project as a ReqIF 1.2
.reqiffile to import into DOORS, Polarion, codebeamer or another requirements tool. How it maps.
A project imported from an older export may also have its own copies, like the sample’s HTML Specification; the bundled one is then named (bundled).
Gherkin features
The file is one Feature for the project. Each use case is a Rule,
and each scenario it uses is a Scenario under it, the primary one first.
Scenarios no use case uses are left out.
- Steps. A precondition’s steps are
Given. A step done by the primary actor or a named actor isWhen, and a system step isThen. A step with no actor takes the keyword before it, and a repeat isAnd. A scenario used as a step is replaced by its own steps. - Tags. Each scenario is tagged with the use case’s key and its own,
such as
@UC-4HX0TA @SC-7Q2K9M, then with the use case’s tags and its own. Spaces in a tag become-. - Stable. An unchanged project gives the same file byte for byte, so a diff shows what changed. The first line is the project version.
The CLI runs it too:
requel report Requel gherkin --tag smoke -o requel.feature.
ReqIF
Each goal, story, actor, use case, scenario, step and glossary term becomes a ReqIF object identified by its key. Re-importing a later export therefore updates the objects in the other tool instead of adding copies. Each object carries its name, text, key, tags and review status. The links between requirements become ReqIF relations. The file has one specification with chapters for goals, actors, stories, use cases (with their scenarios and steps) and the glossary.
The file needs a project exported from Requel 2.2 or later. Every element’s
timestamp is the time of the run, so a re-import always counts as newer.
requel report Requel reqif -o requel.reqif runs it from the
CLI.
Write your own
A report template is an XSLT stylesheet applied to the project’s XML export, so it can produce any text format: HTML, Markdown, CSV, another XML.
- New Document creates one: give it a name and paste the stylesheet, or
Upload XSLT to load a
.xsl/.xsltfile. - Edit opens an existing one. A bundled template renders the latest version that ships with Requel; saving your own text in it detaches it, and from then on your text is used.
Start from a bundled template, or from the project schema, to see the elements you can select. If a run fails, the message names the cause.
A template’s top-level xsl:params are its parameters. Run
asks for each one, and the API, MCP and CLI pass them by name
(Requel sets projectVersion and generatedAt).