首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

通过配置管理掌控您的需求项目(2)实验 1 使用流和基准

通过配置管理掌控您的需求项目(2)实验 1 使用流和基准

实验 1 使用流和基准基准捕获工件的一个有意义的状态,比如一个已批准的状态,或者一个版本,或者可能是一个特定的时间点。(在  或  上)观看这个使用 Rational DOORS Next Generation                创建基准的视频。
1.1 创建基准来捕获需求管理项目的状态您将创建一个基准来捕获并保存开发工作的起点。
图 7. 为开发流创建基准。
  • 主菜单(参见 )中切换到                        JPK's AMR Project (Requirements Management)                    项目;请记住,您的项目名称可能有所不同。
  • CurrentConfiguration 菜单中选择                        Create Baseline
  • Create Baseline 窗口中,提供以下信息:
    • Title:AMR(RM) Starting Point
    • Description:This is the starting state of the                            requirements management project in the Jazz.net sandbox
  • 单击 Create
  • 当窗口通知您已经成功创建基准时,单击 OK
  • 请注意,您仍在一个流配置中;没有切换到基准。在流配置中,您仍然可以编辑。如果切换到基准,则无法再编辑基准。
1.2:在流中执行更改 您已经创建了需求项目的基准。现在将在需求流中执行一些更改,并表明正在进行的需求管理工作,比如更新现有需求或收集其他客户需求。
图 8.                    基准表示项目的一种不可变状态,但您可以在流上继续您的开发工作。
  • 请注意,您在一个流中。
  • Modules 菜单中,单击 Browse Modules
  • 单击 AMR System Requirements 的名称打开该模块。
  • 使用您的 DOORS Next Generation 经验,对项目执行一些更改:
    • 编辑需求。它目前显示为:
      The handheld device shall have the                                ability to search for accounts by Last Name, Service                                Address, Meter Number, and Unread Meters.
      您需要添加按电话号码搜索的能力:The handheld device shall have                                the ability to search for accounts by Last Name, Service                                Address, Meter Number, phone number, and                                Unread Meters.
    • 仍然选中该工件,使用右边边栏将它的 Status 属性设置为                                Approved。这是完成此操作的更多细节:
      • 选中该工件,从右边边栏中单击 Selected Artifact                                    选项卡,然后单击 Edit
      • 找到 Status 属性,从下拉菜单中选择                                        Approved
      • 滚动到边栏顶部,单击 DONE
    • 找到此需求:
      Display information shall include: total number                                of accounts in collection route, number of read accounts,                                number of unread accounts, the address of each account.For                                completed (read) accounts, the display information shall                                include: the date and time of the last reading, summary of                                usage data, and the id of handheld reading                            device.
    • 编辑该需求,以便显示电话号码:
      Display information shall include:                                total number of accounts in collection route, number of                                read accounts, number of unread accounts, the address and                                phone number of each account.For completed (read)                                accounts, the display information shall include: the date                                and time of the last reading, summary of usage data, and                                the id of handheld reading device.
  • 更改一个流的首选方式是使用更改集(可选)。直接在流中编辑时,在执行每次更改时,Rational DOORS Next Generation                    都会实际创建和传送更改集。一种更好的解决方案(我们稍后将介绍)是将相关的更改分组到一个更改集内。要查看创建并传送到流中的更改集,可以执行以下步骤:
    • Administration 菜单中选择 Manage                                Configurations
    • 单击流名称(示例:JPK's AMR Project (Requirement Management).
    • 单击 Change Sets 选项卡。单击 Select to                                include delivered change sets                            图标。您创建的更改将位于列表的顶部,使用您的用户名标识。 点击查看大图
    • 选择 Modules > Browse Modules 来返回到模块视图。
1.3 对比一个流和基准配置(包括流和基准)可彼此对比。对比在尝试评估执行了哪些更改时非常有用。
  • 在需求管理项目的 Current Configuration 菜单中,选择 Compare                        Configuration
  • Select the Configuration Context 窗口中,
    • 选择 Baseline(以便只过滤基准配置)
    • 键入 * (列出所有基准配置)
    • 选择 AMR (RM) Starting Point
    • 单击 OK
  • 在向导中,您可以检查该流与基准之间的区别。
    • 确认您对比的内容(流与基准),然后单击 Next >点击查看大图
    • 下一页显示了项目属性中的更改的摘要。您尚未执行任何这类更改,所以请单击                                Next
    • 现在向导显示项目的文件夹结构没有发生更改,所以请单击                                Next
    • 可以看到对工件的更改。单击左边已更改的工件,在右边查看对该工件的更改的详细信息。
    • 在完成检查后,单击 Finish
小结流可以随时设置为基准来捕获项目的状态。基准是工件的不可变(无法改变的)版本,从创建基准开始就无法改变。用户可切换到基准,将它与其他流或基准对比,甚至根据某个基准开始新的开发流。因为基准代表项目的一个无法更改的已知状态,所以在管理多个产品变体(甚至同一个项目或产品的多个版本)时,基准非常有用。在下一个练习中将会看到,多个产品变体可从一个共同点(使用基准表示)创建新的开发流,共享(但不会克隆和拥有)截至此点之前的所有需求。开发流中的更改位于流本地。一个流中的更改不会影响其他流,除非更改已传送到其他流。
返回列表