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