Creating SymbianUnitTest suite

To create SymbianUnitTest suite, you must have a Symbian C++ project, which is the actual development work, before you build a test project. Once the main development project has been created you can create a Symbian Unit Test suite, the suite files are saved separately in a specified folder, for example the test folder. The steps below show how to create SymbianUnitTest suite:

  1. Select File > New > Other.
  2. Select Carbide Extensions > Test Frameworks > Symbian Unit Test, and click Next.

    Create SUT wizard

  3. Select the project where the Symbian Unit Test suite will be created and click Next.

    Create SUT wizard: project selection

  4. Select the classes or functions to test. Click Next.

    Create SUT wizard: classes and functions selection

  5. If necessary, change the directory for the files generated by the wizard and click Next. By default, the generated files are saved under the test folder. The UID3 is generated randomly.

    Create SUT wizard: Location and properties

  6. A set of files for Symbian Unit Test suite are generated as following:

    Create SUT wizard: demo