There is a console based application provided by Symbian Unit Test Framework which is used to execute test cases.
filename:
symbianunittest.exe
allowed arguments:
-tests|t=<dllfilename1,dllfilename2,...>
-cases|c=<case1,case2,...>
-alloc|a
-help|h
-output|o=<html|xml|txt>
-timeout|to
-noprompt
each option has a short term form such as -h is the short term form of -help.
-help/-h : print help message (the same effect as run symbianunittest.exe without any parameter)
Example : symbianunittest -help
-tests/-t : specify the test dll files which include the symbian unit test cases, seperated by ‘,’.
Example : symbianunittest -tests=testdllfilename1,testdllfilename2,testdllfilename3
-cases/-c : specify which test cases should be ran during the test procedure. the names of the test cases are seperated by ‘,’. (optional)
Example : symbianunittest -tests=testdll -cases=testcasename1,testcasename2,testcasename3
-timeout/-to : set the time out value for test execution, 30 secondes by default, 0 for never timeout. (optional)
Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3
Set time out to 3 seconds.
-output/-o : set the output format, default is html. Test result file is stored in c:\sut.
Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml
-alloc/-a : Memory allocation failure simulation. (optional)
Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml -alloc
-noprompt : perform a quiet test for unit test execution. (optional)
Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml -alloc –noprompt