Creating STF project

To create an STF project, in Carbide do the following:

  1. Select File > New > Other.
  2. Select Carbide Extensions > Test Frameworks > Symbian Test Framework and click Next, as shown below:

    Sample of creating STF project

  3. Set the project name, path and builder, and click Next, as shown below:

    Set project name, path and builder

  4. Select one or more Symbian SDKs to be used as the build configuration, as shown below:

    Select SDK

  5. Set the test class properties:

    Set test class properties

    then click Next.

  6. Define the test classes and methods. You can Add, Edit, or Delete them, or Bind them with headers or libraries:

    Define classes and methods

    Add method:

    Add methods

    Edit method:

    Edit methods

    Delete method:

    Delete methods

    Bind:

    Bind

  7. Click Finish.

    The test class is created and can be viewed in the Project Explorer.

Creating test class

To create an STF test class for an existing project, right-click the project, then select Test Frameworks > Generate STF Class.... Then follow steps 3 to 7 shown above to finish the creation.

Related concepts