Creating a TEFUnit Project
This section describes how to create a TEFUnit project using the Project
Creation Wizard (PCW).
Introduction
TEFUnit is an extension to the standard TEF that allows automated
execution of unit tests. A TEFUnit project can be created as a test environment
using PCW. A TEFUnit project can test one or more existing projects.
Procedure
This section describes how to create a new TEFUnit project using PCW.
-
Click File > New > New
Project to launch the Project Creation Wizard.
-
Select TEFUnit Project under Generic Symbian OS Tests
to create a new TEFUnit project and click Next.
Note: You can launch the Project Creation Wizard by
clicking File > New > Symbian OS C++
Project > TEFUnit Project.
-
Type the Project name for the new project. Select a
location for the new project or accept the default location and click
Next.
If you select a location that does not exist, the wizard creates a
directory automatically.
-
Select one or more SDKs and Build Configurations to build the
project for the specified platforms. Click Next.
Enable the Filter SDKs based on selected template
option to show only the build configurations based on the SDK template you
previously selected. Uncheck this option to show all enabled SDKs and their
related build configurations.
-
Select the required classes and methods that you want to test from
one or more projects.
-
Click Next to set the project properties in the
Basics dialog box.
For more information on all fields, refer to Carbide
Help > Carbide.c++ User Guide > Create
Projects.
The UID, Author name and Copyright fields can be set as follows:
-
Click Next to launch the Project
Directories dialog box. You can change the directories for the files to
be generated.
-
Click Finish.
Result
The wizard creates a directory structure within a project that contains
the following files: