Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 22 Next »

Installation

  1. Download the latest Windows Installer (dm-unittest-harness-X.X-X-setup.exe) from the MettleCI software website.

  2. Run dm-unittest-harness-X.X-X-setup.exe using a user with Administrator privileges

  3. Allow Unit Test Harness installer to make changes on the “User Account Control” screen

  4. Click next at the welcome screen

  5. Select a location to install Unit Test Harness. This location is used for storing the uninstaller

  6. Select Mettle Home location. This screen will only appear if you install MettleCI Unit Test Harness before MettleCI Workbench

  7. Select DataStage Home directory.

  8. Congratulation! Installation of MettleCI Unit Test Harness is now completed

Enable MettleCI Unit Testing for DataStage projects

To enable MettleCI Unit Testing for an existing DataStage project:

  1. Log into your development DataStage Engine(s) and navigate to your DataStage project folder. This would typically be:

    # Windows
    <DRIVE-LETTER>:\YOUR\PATH\TO\INFORMATION-SERVER-ROOT-FOLDER\Server\Projects\<Your Existing Project>
    or
    # Unix
    /your/path/to/InformationServer/Server/Projects/<Your Existing Project>
  2. Add the following Environment variable definition to the DSParams file under the [EnvVarDefns] section:

    DM_ENABLE_UNIT_TESTING\MettleCI\-1\List/Disabled//Test//Intercept/\Disabled\3\Project\Unit Testing Configuration\

To enable MettleCI Unit Testing for all newly-created DataStage projects:

  1. Add the same entry described above to the DSParams for your ‘Template’ project, located in directory:

    <DRIVE-LETTER>:PATH\TO\INFORMATION-SERVER-ROOT-FOLDER\Server\Template

Upgrade MettleCI Unit Testing Harness

To upgrade MettleCI Unit Testing Harness, is as simple as

  • Uninstall the old version

  • Install the new version

Uninstall

  1. The MettleCI UnitTest Harness uninstaller can be found under Windows Start Menu. Click on it, and the wizard will guide you through the uninstalling process.

  • No labels