STIF has an configuration file (.ini) that is used to set up the tool's functionality, for example, default environment settings such as filepaths for test reports, and the used test modules. For the creation of this file, see Setting up the STIF configuration file.
By default, the .ini file is opened in Carbide's text editor. However, it is recommended to use the STIF Configuration Editor to enter and modify the values. The changes made to the file in the Configuration Editor are updated to the .ini file in real time.
To edit the configuration file, do as follows:
See the sections below for instructions.
It is necessary to add the test module to STIF configuration file to make it accessible for STIF. Before you can run your test case you have to add your test module to this file. Also script files for few types of test modules must be listed in this file. Modules tab of STIF Configuration Editor provides a graphical interface for these operations. On the Modules tab, you can do the following things:
Editing the global settings by hand can be error-prone. The STIF Configuration Editor provides a convenient interface for editing this file. The editor contains a parser that is capable of finding mistakes in global settings (in case of manual modyfication). Global settings specify options for STIF Engine and STIF Logger:
In these options, you can specify things such as file paths and file names for test reports.
In these options, you can specify paths and log format both for emulator and hardware, log modes and as well as the generated timestamps.
Fields that are greyed out have default values and are not present in the .ini file. However, you can still change the values of these fields.
Tip: For details on what the fields contain and what their values can be, click the Source tab and check the descriptions in the text file itself. You can also edit the values in this text file directly. To get code assistance, press CTRL + Space, as shown below: