diff -r f1112f777ce9 -r 96906a986c3b testdev/ite/src/com.nokia.testfw.stf.help/html/tasks/creating_stf_project.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testdev/ite/src/com.nokia.testfw.stf.help/html/tasks/creating_stf_project.htm Tue Mar 30 14:39:29 2010 +0800 @@ -0,0 +1,36 @@ + + + + +Creating STF project + + + + +

Creating STF project

+

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

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

    Sample of creating STF project

  4. +
  5. Set the project name, path and builder, and click Next, as shown below:

    Set project name, path and builder

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

    Select SDK

  8. +
  9. Set the test class properties:

    Set test class properties

    then click Next.

  10. +
  11. 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

  12. +
  13. Click Finish.

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

  14. +
+ +

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
+ + + + +