Starting a new activity

Now that you have created a project, it is time to specify your development project's source files and the type of testing or runtime analysis activity that you would like to perform first.

To start a new activity:

  1. Once a project has been created, the user is automatically brought to the Activities page. In this tutorial you are starting with a focus on runtime analysis functionality, so select the Runtime Analysis link. This will bring up the Runtime Analysis Wizard.
  2. On the Application Files page, you must list all source files for your current development project. For this tutorial, you will directly select the source files. Click the Add button.
  3. Browse to folder into which you have installed Test Embedded and then access the folder \examples\TestSuiteAda\src
  4. Make sure that All Ada Files in the Files of type dropdown box is selected, then select the following files:
    • calc_cov.adb

    • calculator.ads

    • calculator.adb

    • operation.ads

    • operation.adb

    • low_op.ads

    • low_op.adb

  5. Click the Open button. You should see all the source files in the list of the Application Files page.
  6. Click Next.
  7. click Select All and click Next.

    At this time, an analysis engine parses each source file - referred to as tagging. This process is used to extract the various functions, methods, procedures and classes located within each source file, simplifying code browsing within the UI.

    On the Selective Instrumentation page, you have the ability to select those functions or procedures that should not be instrumented for runtime analysis. Selective instrumentation ensures that the instrumentation overhead is kept to a minimum. For this tutorial, you will be profiling everything and thus all items should be checked. This should happen by default; if not, follow step 8.
  8. Click Select All and click Next.

    You have now reached the Application Node Name page. Enter the name of the application node that will be created at the conclusion of the Runtime Analysis Wizard; type the word MyApplication in the Name text field.

    The Application Node Name window also gives you the opportunity to modify Configuration Settings associated with the TDP that you selected when creating the project.
  9. Specify the name of the main application procedure, this step mandatory for Ada.
    • Select the button on the bottom of the Application Node Name window entitled Configuration Settings.
    • In the Configuration Settings window, expand the Build node in the tree on the left-hand side and click the Execution node.
    • In the Main Procedure edit box, enter the name of the main procedure, in this case calc_cov.
    • Select the OK button.
  10. Click Next.
  11. Click Finish.

    The MyApplication application node has now been created and the project Browser tab of the Project Explorer window is the following one: