This is an example Software Requirements Specification (SRS), illustrating the typical structure and the use of Spexygen commands to define the traceable requirement work artifacts.
Description of concepts and definitions...
Definitions of formal requirements specifications with Spexygen commands.
My project shall provide a free function foo().
Description
Longer description of the requirement
Forward Traceability (truncated to 1 level(s))
My project shall provide a class Foo.
Description
Longer description of the requirement
Forward Traceability (truncated to 1 level(s))
Class Foo shall provide a public attribute x.
Description
Longer description of the requirement
Backward Traceability
Forward Traceability (truncated to 2 level(s))
Class Foo shall provide a constructor.
Description
Longer description of the requirement
Backward Traceability
Forward Traceability (truncated to 2 level(s))
Class Foo shall provide a verify operation.
Description
Longer description of the requirement
Backward Traceability
Forward Traceability
Class Foo shall provide an update operation.
Description
Longer description of the requirement
Backward Traceability
Forward Traceability
Class Foo shall be a singleton.
Description
Longer description of the requirement
Backward Traceability
Forward Traceability