25
© [email protected] Requirement Boilerplates in DOORS [email protected] Version 2.0

© [email protected] Requirement Boilerplates in DOORS [email protected] Version 2.0

Embed Size (px)

Citation preview

Page 1: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Requirement Boilerplates in DOORS

[email protected]

Version 2.0

Page 2: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Introduction

• Instructions on how to use DXL customisation to support requirements boilerplates in DOORS

Page 3: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Set up

• Close down any DOORS client that may be running (the server is unaffected)

• Extract the files from boilerplatedxl.zip into doors/lib

• (DOORS 5 only) Place the following line at the end of doors/lib/dxl/startup.dxl:#include <addins/BoilerPlate/include/bp_startup_doors5.dxl>

Page 4: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Check Installation (1)

• Restart DOORS

• If you get DXL errors, then the installation was unsuccessful

• If in DOORS 5, check the entry in startup.dxl

• Otherwise just try again more carefully!

Page 5: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Restore the example data

• From the DOORS database window, do File->Restore->Project…

• Find boilerplates DOORS x.dpa (where x = your DOORS version)

• Do the restore

Page 6: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Checking Installation (2)

• Open the module “Car User Reqs” from the BoilerPlates project.

• If you get DXL errors, then the installation was unsuccessful

• If in DOORS 5, check the entry in startup.dxl

Page 7: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Checking Installation (3)

• If the “BoilerPlates” menu is not visible in the “Car User Reqs” module, then the installation was unsuccessful.

• Please check that you have installed into the right location, and try and again.

Page 8: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Getting started

• Examine the module “Car User Reqs”

• An outgoing link attaches a requirements to its boilerplate in the “Common Boilerplate Repository” module

• The Object Text contains the completed boilerplate

Page 9: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Editing Requirements

• Select a requirement with an outgoing link

• Invoke “Boilerplates->Edit attributes”

Page 10: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Editing Requirements

Page 11: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Editing Attributes

• This tool shows the complete requirement text with attributes highlighted in blue.

• You can edit the attributes by double-clicking in them:

Page 12: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Attribute Editor• Here you either enter a

new value for the attribute, or select a value from the list of those used in other requirements

Page 13: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Boilerplates and Attributes

• The values entered are held in object attributes:

Page 14: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

The Boilerplate Module

• Open the Boilerplate module:

Page 15: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

The Boilerplate Module

• The boilerpate is held in Object Text

• Attributes are used to classify the kind of statement contained in the boilerplate

Page 16: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Creating a New Requirement

• Go back to the “Car User Reqs” module.

• Create an empty object at the end of the module.

• Invoke the boilerplate “Edit attributes” tool:-

Page 17: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Linking to a boilerplate

• Click “Start Link” to link to a boilerplate, then select the boilerplate object in the Boilerplate module, then click “End Link”:

Page 18: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

New boilerplate

• This has created a link to the boilerplate

• Now edit the attributes by double-clicking as before

Page 19: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

New Requirement Complete

• The new requirement is stored in Object Text, and the other attributes values set

• If you want to see the boilerplate in the requirements module, use the standard DOORS Analysis Wizard to display the Object Text from the boilerplate repository

Page 20: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Changing Boilerplates

• If you change a boilerplate in the boilerplate module, requirements that use that boilerplate can be updated in each requirements module

• Invoke “Boilerplates->Refesh requirements from boilerplates”

• (Rich Text is taken into account)

Page 21: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Sub-Clauses

• Boilerplates can be used for sub-clauses of requirements

• This allows traceability within complete requirements statements

• Place these as children of the main requirement so that the relationship between clauses is managed

Page 22: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Tracing to Requirements• When you link to a sub-clause, you may

like to see the complete requirement (not just the sub-clause) in traceability columns

• To achieve this, the tool“Boilerplates->Create boilerplate attributes…”creates a DXL attribute in the requirements module than contains the complete requirement

• Invoke this, and display the attribute “Complete Requirement” in a column:

Page 24: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Traceability Columns

• Now the Analysis Wizard can be used to create traceability columns that display the Complete Requirement attribute

Page 25: © Jeremy.Dick@telelogic.com Requirement Boilerplates in DOORS jeremy.dick@telelogic.com Version 2.0

© [email protected]

Tell me about it!

• Please tell me what you think about the tool!

• Email me: [email protected]