TF002 Generate a PDF¶
Output requirements and tests in PDF format
Is a test for
Initial state¶
The expected state is the final state of
TF001 Writing requirements as text
Procedure¶
Step 1¶
List the yamls files of the project inside a typst file
$ cat specification.typ
#import "@local/speky:0.1.2": speky
#speky(("requirements.yaml", "tests.yaml").map(yaml))
Step 2¶
Run Typst and open PDF
$ typst compile specification.typ --open
Step 3¶
Verify the requirements are found inside:
The unique ID and short summary as section title
The statement as a paragraph
Verify that:
the test
T01links to the requirementRF01: “Is a test forRF01”the requirement
RF01links to the testT01: “Tested byT01”the test
T02links to the requirementRF02: “Is a test forRF02Second”the requirement
RF02links to the testT02: “Tested byT02Second test”