diff -r f1112f777ce9 -r 96906a986c3b testdev/ite/src/com.nokia.testfw.sut.help/html/references/consoleui.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/testdev/ite/src/com.nokia.testfw.sut.help/html/references/consoleui.htm Tue Mar 30 14:39:29 2010 +0800 @@ -0,0 +1,43 @@ + + + + +Console UI + + + +

Console UI

+

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

+ +