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. ", )