By using Import the existing project to workspace function, you can import the project not existed in the workspace into the workspace.

Import Test

  1. Click [File] -> [Import].
  1. Select [Test] -> [Import Test] and click [Next].
  1. Enter the information for the test to be imported and click [Finish].
  1. If there are items that the name has been changed or the file has been deleted when importing the test information, the notification windows is displayed, allowing you to select whether to import the information except for that items. This notification window is displayed only if the information was exported from 2.6.14 or later version at a time. If the information is exported from the other menu and previous version, the notification is not displayed.
  1. If the same test exists in the project, select whether to overwrite the test. Select [Yes] to overwrite and select [No] to cancel the import.
  1. After the import has completed, it is applied to the selected project.

Import information exported from 2.6.14 or earlier

  1. Enter the path to import the test in [Import path].
    • If [testinfo.export] file exists in the test path to be imported, select the directory containing the file.
      If you import the information exported separately from 2.6.14 or less version, select the higher-level directory containing the information exported.
  2. In [Unit Test] group, check whether to import [Test] and [Test data] respectively.
  3. In [Integration Test] group, check whether to import [Test].
    • The test and data must always be in the same directory, and if it is not, the data is not imported.
  4. In [Stub] group, select the stub to be imported among [Connected Stubs] and [All stubs].
    • For the stubs created in 2.3 version, or the stubs migrated to 2.6, if the same stubs exist in the project, the import cannot be carried out.
    • For the stubs created in 2.6 version, if the same stubs exist, you can select either not to import them optionally or to create as a new stub additionally.
      • If you import the test linked with a stub, see Appendix A containing examples.
    • There is no feature to link the stubs to the test in 2.3 version, so you need to link directly to the test when migrating to version 2.6 or later.
  5. In [Option] group, select whether to overwrite the existing test files if they exist and how to handle them when the same stub exists.

Import Test from Test Code file

  1. Click [File] -> [Import].
  1. Select [Test] -> [Import test using test code file] and click [Next].
  1. Click [Add…] and select the test to be imported.
  1. Click [Finish] to apply the selected test to the selected project.

Import Coverage

  1. Click [File] -> [Import].
  1. Select [Coverage] -> [Import Coverage] and click [Next].
  1. Enter the path of coverage file to be imported and click [Finish].

Toolchain

You can import the toolchain information exported by using the Import function.

  1. In the main menu, click [File] -> [Import]. The Import wizard is opened.
  2. Click [Preferences] -> [ToolChain] and click [Next].
  3. If you select the file (*.tch) to be imported, the list of toolchains included in the selected file are displayed.
  4. Select the toolchains to be imported from the toolchain list.
  5. If the toolchain to be imported uses the same compiler as the existing toolchain, or if the toolchain name is duplicated with the name of the existing toolchain, the import status becomes “Need to modify”. You can change the toolchain name to be imported in the [Select how to resolve] window displayed when clicking [Next>] button.
  1. Click [Finish].

Import the existing project into workspace

By using Import the existing project to workspace function, you can import the project not existed in the workspace into the workspace.

  1. In the main menu, click [File] -> [Import]. The Import wizard is opened.
  1. Click [General] -> [Existing Projects into Workspace] and click [Next].
  2. Select the Root directory or the Archive file and click [Browse] to find the directory or file containing the project.
  3. From the list of projects included in the selected root directory or the archived file, select the project to be imported.
  1. Click [Finish].

File System

You can add the source files to the project by using Import File System function.

  1. In the main menu, click [File] -> [Import]. The Import wizard is opened.
  1. Click [General] -> [File System] and click [Next].
  2. Select the top-level directory path containing the source file to be added by clicking [Browse…] button.
  3. Select the source file to be added.
  4. Select the target project that the selected source file will be added to by clicking [Browse…] button.
  1. Click [Next].
  2. Select the module that the source file will be added from the list of modules included in the project.
  1. Click [Finish].

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.