Running Tests using the TCS Files

The TCS file contains IDs of the test cases that is used to selectively run the test cases. You can specify the test cases as a range, a list or a combination of both. Each range or individual test case ID in the TCS file must be delimited by a new-line character.

You can use the following switches with TCS file to selectively run the test cases:

  • -tcx: Runs all the test cases in the script excluding the test cases specified in the TCS file.

  • -tci: Runs only the test cases specified in the TCS file.

The following command syntax shows how to use these switches with the TCS file:

testexecute <SCRIPT_FILE> –[tcx|tci] <TCS_File>

where <SCRIPT_FILE> indicates the script file and <TCS_FILE> indicates the TCS file.

  1. Modify the TCS file based on the test cases that you want to run.
  2. Run the following testexecute command:

    testexecute %EPOCROOT%\epoc32\release\winscw\<urel/udeb>\<test suite name>.script –[tcx|tci] %EPOCROOT%\epoc32\release\winscw\<urel/udeb>\t_syslibs.tcs