Restriction: This feature requires that
Visual COBOL Development Hub is installed on the remote machine.
Use this process to create a native COBOL unit test project in your workspace that is located on a remote machine. You can
either directly populate it with the code you plan to test, or link it to other remote (native COBOL) projects in your workspace
that use the same connection.
- While in the COBOL perspective, click
.
- In the
Remote COBOL Unit Test Project wizard, type a project name.
- In the
Choose file system field, select the connection type with which to interact with the remote host, and then click
Next.
- Select the required project template on which to base your project, and click
Next.
Note: By default, two templates are available for you to choose from:
Micro Focus template [32 bit] or
Micro Focus template [64 bit]; others may be available if the template preferences have been previously configured. Alternatively, click
Browse for template and select another template.
- If you chose Network File System (Samba, NFS), in the
Location field, specify the path with which to locate the project on the local machine.
Tip: Select
Use default location to use your current workspace.
- In the
Remote settings section, in the
Connection name field, choose the remote connection.
Note: Only existing connections using your chosen file system are displayed; if the remote host connection is not listed when you
click the
Connection name field, click
New Connection and use the
New Connection wizard to create a new one.
- In the
Remote location field, enter the location of the project on the remote host. You can use the
Browse dialog box to browse the remote host's file system.
For a network file system such as NFS or Samba, the
Remote location value should be the UNIX/Linux representation of the path as specified in
Location. For example, a location of
X:NFS-mounted-drive-location\project-name should be represented by a remote location of
/home/users/my-folder.
- Click
Finish.
The project is created and appears in the COBOL Explorer.
In order to create test fixtures, remote unit test projects use the same COBOL unit test programs as those for normal unit
test projects.