diff --git a/_requirements_/specification.pdf b/_requirements_/specification.pdf new file mode 100644 index 0000000..41348da Binary files /dev/null and b/_requirements_/specification.pdf differ diff --git a/_requirements_/specification.py b/_requirements_/specification.py new file mode 100644 index 0000000..b6795ec --- /dev/null +++ b/_requirements_/specification.py @@ -0,0 +1,69 @@ +def specification(req_spec): + req_spec.add_title("Module report") + + # + # Section + # + sec_uuid = req_spec.add( + itemtype="SEC", + id=1, + heading="General Information", + ) + # + # Section + # + sec_uuid = req_spec.add( + itemtype="SEC", + id=2, + heading="collectingHandler", + ) + + # Requirement + req_spec.add( + parent=sec_uuid, + itemtype="REQ", + id=1, + heading="Store log records (collectingHandler)", + description="Description 1.", + ) + + # Requirement + req_spec.add( + parent=sec_uuid, + itemtype="REQ", + id=2, + heading="String representation (collectingHandler)", + ) + # + # Section + # + sec_uuid = req_spec.add( + itemtype="SEC", + id=3, + heading="collectingRingHandler", + ) + + # Requirement + req_spec.add( + parent=sec_uuid, + itemtype="REQ", + id=3, + heading="Store log records (collectingRingHandler)", + ) + + # Requirement + req_spec.add( + parent=sec_uuid, + itemtype="REQ", + id=4, + heading="String representation (collectingRingHandler)", + ) + + # Requirement + req_spec.add( + parent=sec_uuid, + itemtype="REQ", + id=5, + heading="Number of stored logs in the RingHandler", + description="The number of stored log-records shall be given on initialisation or reinitialisation. ", + )