Docstoc

TPC_3.0_Requirements_tutorial

Document Sample
TPC_3.0_Requirements_tutorial Powered By Docstoc
					   TOPCASED 3.0 tutorial
Requirement management

            Benjamin Marconato
               Summary


•   Environment
•   Requirement import
•   First requirement coverage
•   Navigation and filtering
•   Requirement coverage
•   Update upstream requirements
•   Collaborative work
•   Impact analysis
•   To come
•   Support




2   TOPCASED requirement management tutorial
               Environment




                                               2 new views




3   TOPCASED requirement management tutorial
               Requirement import
               Supported formats


•   Supports Docx (Office 2007) and Odt (Open Office)
•   Supports Xlsx (Office 2007), Ods (Open Office) and Csv
•   Can support Doc or Xls when converted in Docx or Xlsx format
•   If you are not using Office 2007, install Microsoft Office Compatibility Pack for
    Word, Excel, and PowerPoint 2007 File Formats
        See http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=941b3470-3ae9-
        4aee-8f43-c6bb74cd1466




4   TOPCASED requirement management tutorial
               Requirement import
               Import menu


•   Use the import contextual menu
•   Fill the output model (use Browse)
•   Choose “requirement” model type




5   TOPCASED requirement management tutorial
               Requirement import
               Identify requirement attributes from a Word/Writer document


•   First, add a style or regex to identify the requirement identification in the document
•   Then, add other styles or regexes to identify the requirement attributes in the
    document




                                                                       You can keep the document structure
                                                                                by checking « hierarchical »




6   TOPCASED requirement management tutorial
               Requirement import
               Identify requirement attributes from a Excel/Calc/CSV document


•   First, add a column to identify the requirement identification in the document
•   Then, add other columns to identify the requirement attributes in the document



                                                          Test your regex with the regex viewer




7   TOPCASED requirement management tutorial
                  Requirement import
                  Map attributes between document and requirement file


•     Create attributes in the requirement file
•     Map attributes between the imported document and the requirement file



                Imported                          Requirement
                document                              file




                                                                     Now, click finish to
                                                                     launch the import !
     Left it empty for
    Requirement: text
8      TOPCASED requirement management tutorial
               Requirement import
               Attach a requirement file to a model


•   Open the model (di)
•   Click on the key icon in the tool bar
•   Choose the imported requirement file




9   TOPCASED requirement management tutorial
                Requirement import
                Filter imported requirements (1/2)


•    Consult the initial upstream requirement set by opening the model
•    Then Requirement file -> Right click -> Topcased -> Requirement -> Filter
     upstream requirements




10   TOPCASED requirement management tutorial
                Requirement import
                Filter imported requirements (2/2)


•    Define filter rules with add buttons
•    Use the regex viewer to check your rule
•    Click Finish
•    Consult the upstream req view again




11   TOPCASED requirement management tutorial
                Requirement import
                Consult an uptream requirement


•    Select an upstream requirement : the documentation view allows to consult it.




12   TOPCASED requirement management tutorial
                First requirement coverage
                Drag & drop an upstream requirement




                                            1. Drag & drop



 3. The upstream
  requirement is
                                                       2. A current requirement is created.
shown as covered.
                                                        « Link to » property is populated.




13   TOPCASED requirement management tutorial
                Navigation and filtering
                Find the current requirements linked to an upstream requirement


•    Select an upstream requirement
        The current requirements are filtered using the “link to” property.




          No selection                          EM-HLR-F-REQ-001     EM-HLR-F-REQ-002

14   TOPCASED requirement management tutorial
                Navigation and filtering
                Synchronization between Current Requirement view and diagram


•    Check the “Link with Editor” button
       Behavior of the current requirement view is now the same as the outline view.




15   TOPCASED requirement management tutorial
                Navigation and filtering
                Search in the requirement views


•    Use the search field of upstream and current requirement views.
•    In the current requirement view, search is done in “identifier” and “link to” fields.




16   TOPCASED requirement management tutorial
                Requirement coverage
                Current requirement edition


•    Select a current requirement : the properties view allows to edit it.




17   TOPCASED requirement management tutorial
                Requirement coverage
                Current requirement naming format


•    You can define a naming convention for the current requirements.
•    “Use new requirement couting system” means that next requirement number is the
     maximum found + the increment.
        So you can define a threshold by renaming a current requirement.




18   TOPCASED requirement management tutorial
                Requirement coverage
                Delete a current requirement


•    You can delete a current requirement.




•    Or you can delete a whole branch.




19   TOPCASED requirement management tutorial
                Requirement coverage
                Create a current requirement without upstream requirement


•    You can create a current requirement from the current requirement view.
•    In that case, “link to” property is left empty.




20   TOPCASED requirement management tutorial
                Requirement coverage
                Current requirement linked to several upstream requirements


•    You can add “link to” attributes to an existing current requirement.
•    Fill them to reference new upstream requirements.




21   TOPCASED requirement management tutorial
                Requirement coverage
                Problematic and untraced upstream requirements


•    You can classify upstream requirements in the current requirement view.




                                                Drag&Drop




22   TOPCASED requirement management tutorial
                Requirement coverage
                Not affected current requirements


•    If you delete a model element that contains a current requirement, this requirement
     will be stored as Not Affected in the current requirement view.




23   TOPCASED requirement management tutorial
                Update upstream requirements
                Attach the new requirement file


•    Make the problems view empty by deleting all the problems.




•    Use the update button in the upstream requirement view.
•    Select the last imported requirement file.




24   TOPCASED requirement management tutorial
                Update upstream requirements
                Problems view


•    The problems view shows the changes in upstream requirements.




       Modification


         Deletion


          Creation




25   TOPCASED requirement management tutorial
                Update upstream requirements
                Deal with modified upstream requirements


•    In the problem view, select a warning : the corresponding current requirement is
     selected.
•    Modify the current requirement and the model according to the problem.
•    Then, current requirement => right click => Set as valid
•    The warning disappears.




26   TOPCASED requirement management tutorial
                Update upstream requirements
                Deal with deleted upstream requirements


•    The deleted upstream requirements are classified at the end.
•    Select a deleted upstream requirement
        The linked current requirements are shown.
        You can deduce the impacts on current requirements and model elements.
•    You can not delete a current requirement that supports a warning.
        Use Set as valid first




27   TOPCASED requirement management tutorial
                Update upstream requirements
                Deal with new upstream requirements


•    The new upstream requirements have been added in the Upstream requirement
     view.
•    They are not covered by current requirements yet.




28   TOPCASED requirement management tutorial
                Collaborative work
                Split the model with the control command


•    First, split your model. Each submodel is affected to a member of the team.
•    See TOPCASED UML tutorial to see how to use this feature.




29   TOPCASED requirement management tutorial
                Collaborative work
                Duplicate the requirement file for each submodel


•    Then, duplicate the requirement file for each submodel.
•    Use Copy/Paste in your navigator view.




30   TOPCASED requirement management tutorial
                Collaborative work
                Attach duplicated requirement files to main model and submodels


•    After that, attach duplicated requirement files to main model and submodels
        To avoid a known issue, make sure to attach the main model first.
•    See previous slide
        Requirement import: Attach a requirement file to a model




31   TOPCASED requirement management tutorial
                Collaborative work
                Team work and configuration management


•    Now each member of the team can work on his submodel.
•    Current requirements are stored in the requirement file associated to the submodel
     so there is no conflict during the commits.




32   TOPCASED requirement management tutorial
                Collaborative work
                Merge of requirement files into one file


•    Select all the DI files (umldi, auidi, sysmldi, etc) for which you want to merge
     requirement files. Then right click -> Merge requirement
•    Check ‘is main model’ boxes for the models that have not been created by using
     the control action




33   TOPCASED requirement management tutorial
                Collaborative work
                Whole process


•    The result of the merge can be duplicated again so you can overwrite the merged
     requirement files.
•    This way, every designer sees all the current requirements.




34   TOPCASED requirement management tutorial
                Impact analysis
                Export a traceability matrix


•    This aims at exporting a matrix with traceability for:
        Upstream requirements
        Current requirements
        Model elements


•    This feature is not available yet.




35   TOPCASED requirement management tutorial
                To come


•    Impact analysis
        Export a traceability matrix




36   TOPCASED requirement management tutorial
                Support


•    More support about requirement management in TOPCASED

         Mailing list « users »
         - topcased-users@lists.gforge.enseeiht.fr

         Atos Origin team
         - benjamin.marconato@atosorigin.com
         - raphael.faudou@atosorigin.com
         - stephane.duprat@atosorigin.com




37   TOPCASED requirement management tutorial