UC2::Build HTML Site
Overview
This
use-case describes the sequence of events necessary for Xuse to generate the HTML view of the requirements model
Document History
- Current Version1.6
- 1.1odlingsmee; 20 Jan 2006 ; Initial Revision
- 1.2odlingsmee; 21 Jan 2006 ; Completed main flow of events and exception flows and alternate flows
Properties
- TriggerRequirements and/or use-cases have been added or modified and a new version of published documentation is required
- GoalTo publish the latest set of requirements related documentation
- Primary ActorBuilder
- Pre-Requisites One or more use-cases and/or [UC1] requirement should have been entered in Xuse
- Success OutcomeA new version of the HTML documentation will have been created
- Failure OutcomeValidation or technical issues will have been raised and the actor will have been informed of these issues
- Priority1
- Complexity1
- Trace from[UC1] Add Requirement; [UC4] Edit Use-Case
- Packagetools
Basic Flow
- The builder initiates the build
- Xuse loads the requirements-repository
- Xuse scans the use-case directory and sub-directories for use-cases
- Xuse validates the model checking for [RQ49] duplicates or [RQ50] missing references
- Xuse [RQ27] derives relationships between use-cases and requirements (the relationships are traversed in both directions).
- Xuse creates an HTML view of the requirements repository.
- Xuse creates an HTML view of each use-case making sure that use-case that [RQ28] refer to each other are hyperlinked.
- Xuse creates an index file to tie together the HTML pages for convenient presentation and navigation.
- The use-case ends.
Alternative Flows
Validation Errors
At step 4 of the Main flow when Validation Errors are encountered
- Xuse informs the actor of the validation errors, making sure that the error descriptions are as meaningful and helpful as
possible.
- The use-case ends.
Exception Flows
Exception Flow 1
At step 2 of the Main flow when The requirements repository cannot be loaded , or at step 3 of the Main flow when The use-case directory does not conatin any use-cases, or there is an error scanning the directories
- Xuse informs the actor of the issue
- The use-case ends.
Specific Requirements
- [RQ49] Duplicate Use-Case Validation:Xuse shall make sure that use-case identifiers are unique within the documentation set. (implemented)
- [RQ50] Missing requirements references:Xuse shall validate that requirement references (within use-cases and the requirements repository) are valid - i.e. that the
requirement exists within the requirements repository. (implemented)
- [RQ27] Reverse relationships:Xuse shall be able to derived items that reference the requirement or use-case under focus. For instance, Xuse shall be able to trace which use-cases reference a particular requirement without that information
being held directly against the requirement in the data model. (implemented)
- [RQ28] Use-case relationships:Xuse shall support relationships between use-cases. (implemented)
- [RQ12] JavaDoc style view:Xuse shall provide an integrated HTML view of the requirements model similar to JavaDoc . (implemented)
- [RQ9] HTML View:Xuse shall provide a navigable (static) HTML view on the XML data model (proposed)
- [RQ11] Build tools:Xuse shall provide the appropriate build tools to effectively marry the XML data model with the stylesheets that provide the different views. (implemented)
- [RQ23] Build time:Xuse shall be able to compile the XML data model into the disparate views in a timely fashion (i.e. within a matter of one or two minutes or less) - no strict
performance requirements are necessary. (proposed)
- [RQ26] Navigable relationships:Xuse shall provide navigable relationships between: use-cases and use-cases; requirements and requirements; and requirements
and use-cases. This relationships will be available in the HTML view (implemented)