testdev/ite/src/com.nokia.testfw.sut.help/html/references/consoleui.htm
author Johnson Ma <johnson.ma@nokia.com>
Tue, 30 Mar 2010 14:39:29 +0800
changeset 1 96906a986c3b
permissions -rw-r--r--
contribute ITE to symbian foundation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     2
<html>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     3
<head>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     4
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     5
<title>Console UI</title>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     6
<link href="../book.css" type="text/css" rel="stylesheet"></head>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     7
<body>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     8
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
     9
<h2>Console UI</h2>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    10
<p>There is a console based application provided by Symbian Unit Test Framework which is used to execute test cases.</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    11
<p>filename:&nbsp;<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    12
&nbsp;&nbsp;&nbsp; symbianunittest.exe</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    13
<p>allowed arguments:<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    14
&nbsp;&nbsp;&nbsp; -tests|t=&lt;dllfilename1,dllfilename2,...&gt;<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    15
&nbsp;&nbsp;&nbsp; -cases|c=&lt;case1,case2,...&gt;<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    16
&nbsp;&nbsp;&nbsp; -alloc|a<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    17
&nbsp;&nbsp;&nbsp; -help|h<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    18
&nbsp;&nbsp;&nbsp; -output|o=&lt;html|xml|txt&gt;<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    19
&nbsp;&nbsp;&nbsp; -timeout|to<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    20
&nbsp;&nbsp;&nbsp; -noprompt</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    21
<p>each option has a short term form such as -h is the short term form of -help.</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    22
<p>-help/-h : print help message (the same effect as run symbianunittest.exe without any parameter)<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    23
&nbsp;&nbsp;&nbsp; Example : symbianunittest -help<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    24
&nbsp;&nbsp;&nbsp; <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    25
-tests/-t : specify the test dll files which include the symbian unit test cases, seperated by &lsquo;,&rsquo;. <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    26
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdllfilename1,testdllfilename2,testdllfilename3<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    27
&nbsp;&nbsp;&nbsp; <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    28
-cases/-c : specify which test cases should be ran during the test procedure. the names of the test cases are seperated by &lsquo;,&rsquo;. (optional)<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    29
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdll -cases=testcasename1,testcasename2,testcasename3<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    30
&nbsp;&nbsp;&nbsp; <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    31
-timeout/-to : set the time out value for test execution, 30 secondes by default, 0 for never timeout. (optional)<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    32
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    33
&nbsp;&nbsp;&nbsp; Set time out to 3 seconds. <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    34
&nbsp;&nbsp;&nbsp; <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    35
-output/-o : set the output format, default is html. Test result file is stored in c:\sut. <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    36
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    37
<p>-alloc/-a : Memory allocation failure simulation. (optional)<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    38
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml -alloc<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    39
&nbsp;&nbsp;&nbsp; <br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    40
-noprompt : perform a quiet test for unit test execution. (optional)<br />
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    41
&nbsp;&nbsp;&nbsp; Example : symbianunittest -tests=testdll1,testdll2,testdll3 -to=3 -o=xml -alloc &ndash;noprompt</p>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    42
</body>
96906a986c3b contribute ITE to symbian foundation
Johnson Ma <johnson.ma@nokia.com>
parents:
diff changeset
    43
</html>