TF011 Parameterizing tags¶
We can group tags
Is a test for
Initial state¶
The expected state is the final state of
TF002 Generate a PDF
Procedure¶
Step 1¶
Add paramterized tags to requirements
$ cat requirements.yaml
kind: requirements
category: functional
requirements:
- id: RF01
long: The first requirement
tags:
- foo:bar
- lorem:ipsum
- id: RF02
short: Second
long: The second requirement
tags:
- foo:baz
- lorem
Step 2¶
Regenerate the PDF
$ typst compile specification.typ --open
Step 3¶
Verify that:
each requirement has 2 tags
The tag index has two sections:
Foo
Lorem
The Foo section has two subsections:
Bar, where
RF01is listedBaz, where
RF02is listed
RF02is listed directly inside the Lorem sectionRF01is listed inside the Ipsum subsection of Lorem