Creating the integration testing projects

Copy a new project hierarchy from your baseline to build the integration testing area.

Procedure

  1. Find the baseline by using the Query dialog box.
  2. Right-click over the baseline and select Copy Projects.
  3. In the Copy Project dialog box, set the For Release value to the appropriate release.

    If an appropriate release is not in the For Release list, use Refresh Choices. If necessary, see Creating or copying a release.

  4. Set the For Purpose choice to Integration Testing.
  5. In the Copy Subprojects list, view the projects for the baseline.

    The build management work area locations must be visible on the system you are running the database from. If not, copy the projects with visible work areas here.

    For example, if you develop your application on a Windows and UNIX platform, copy Windows projects separately from UNIX projects, using the appropriate Windows or UNIX machine. Additionally, if you develop your application for more than one release, create an integration testing project hierarchy for each release.

  6. Change the new project version to a meaningful name by typing a new name in the Versions field. If the projects you are copying need different versions, click Copy project icon to see each unique version of the projects being copied.

    Click Use Default and then type the new version for each entry.

    Change the version to indicate the release and platform for a project hierarchy and that it is used for integration testing. For example, a version of winxp_3.0_int is appropriate for an integration project on a Windows XP platform with a release of 3.0.

  7. Change the work area path, if necessary.
  8. By default, Rational® Synergy updates all new projects after it copies the projects. If you do not want the new projects to be updated, clear the Update new projects check box.
  9. Copy the projects by clicking OK. Because you are using process rules, the update properties are already set up properly. The release and purpose of your project determine which process rule a project uses. As long as you have set the release and purpose on the project correctly, you are finished setting the update properties. Before you perform build management project activities, you control the project hierarchy to be used as the starting point. Most sites use the last released version of their application. If your site already uses Rational Synergy, create a baseline from the last project hierarchy released to your customers.
    Note: Be sure to create a baseline for your new project.

    A baseline is a set of projects and tasks used to represent your data at a specific point in time. When you perform an update, a baseline is used as a starting point to look for new changes.

    Creating a baseline for each Integration Testing and System Testing build helps testers and developers to refer to the set of changes that were used to create the build. Typically, you create a baseline for all projects in the same release and purpose. For example, create a baseline for each Integration Testing build using all Integration Testing projects for that release.

    See Baselining projects and Creating a baseline for a thorough discussion.

  10. Ensure that copy-based product files are modifiable.

    If product files are modifiable, you do not need to check them out in advance, when you are unsure of whether they are to be built or updated.

    Set the work area property Make all files modifiable for each work area.

    Alternatively, you can set the work_area_products_writable option. This option sets work area files for products to be modifiable for the current use even if the files are non-modifiable and if the work area property Make all files modifiable is cleared.

    Set this option by using this command:

    ccm set work_area_products_writable TRUE

    The setting is persistent. To turn off the setting, use this command:

    ccm set work_area_products_writable FALSE

    If multiple build managers share the same projects and work areas, each build manager must set this option either to TRUE or FALSE.


Feedback