Search tips

apple banana
Find rows that contain at least one of the two words.

+apple +juice
Find rows that contain both words.

+apple macintosh
Find rows that contain the word 'apple', but rank rows higher if they also contain 'macintosh'.

+apple -macintosh
Find rows that contain the word 'apple' but not 'macintosh'.

+apple ~macintosh
Find rows that contain the word 'apple', but if the row also contains the word 'macintosh', rate it lower than if row does not. This is "softer" than a search for '+apple -macintosh', for which the presence of 'macintosh' causes the row not to be returned at all.

+apple +(>turnover >strudel)
Find rows that contain the words 'apple' and 'turnover', or 'apple' and 'strudel' (in any order), but rank 'apple turnover' higher than 'apple strudel'.

Find rows that contain words such as 'apple', 'apples', 'applesauce', or 'applet'.

"some words"
Find rows that contain the exact phrase 'some words' (for example, rows that contain 'some words of wisdom' but not "some noise words").

By continuing to use this site you agree to the use of cookies. For more information and to find out how to change this click here. Accept Cookies
Please enable cookies in your browser for this website.
Advanced search

Base Source Directories for VectorCAST Cover Environments

Last updated: 2020-04-07

VectorCAST 2020 introduces a new feature to enhance usability when creating and using Cover environments alone or as a System Testing environment. This enhancement makes it easy to:

  • Add source files efficiently after specifying a "base source directory"
  • Move entire Cover environments to a new location more easily
  • Syncronize the Cover environment after a repository update
  • Make changes to the environment in the new update wizard

New Environment Wizard
The Create New Cover Environment wizard now enables you to specify a Base Directory, or source root directory, of source files to be added to the Cover environment. The path to the base directory is saved in the environment script (.ENC) which means only a single change is needed if loading the environment script in a different directory. Additional base directories can be specified as needed.

In the Create New Cover Environment wizard Step 3, Locate Source Files, configure a directory to serve as the Base Directory, such as the root of your source code repository. This directory path can be an environment variable, e.g. $(ENV_VARIABLE), a relative path, or an absolute path. After specifying a Base Directory, select sub-directories and source files to include in the new environment. Deselecting specific source files excludes them from the environment. The Show Header Files button allows you to include header files in the list of source files.

Include files are still needed for the pre-processor, regardless of whether or not it should or should not be in the Cover environment.  The compiler will need to know where all the necessary files are.

Figure 1: Include Directories are Still Required for Pre-process

Figure 2: New Option in Environment Wizard

Figure 3: Base Directory List

Update Environment Wizard
After synchronizing source file changes in your repository from version control, you can quickly refresh the source files in the Cover environment using the Update Environment Wizard. From the Toolbar, select Environment | Update Environment. In Step 2, Locate Source Files, any sources detected in the selected directory are displayed. Select or deselect directories and source files to include or exclude them from the environment. Step 3 Summary displays the files to be added and removed from the environment based on your changes.

Figure 4: Update Environment

Figure 5: Update Summary

For more information, see VectorCAST/QA User Guide "Creating a System Testing Environment."

Article Options
Views: 154
Rate this article: