src/eric7/Documentation/Source/eric7.Testing.Interfaces.UnittestRunner.html

branch
eric7
changeset 10407
03b41b9bb392
parent 9209
b99e7fd55fd3
child 10478
de9106c55c3d
equal deleted inserted replaced
10406:27b7580aa784 10407:03b41b9bb392
33 <td><a href="#_assembleTestCasesList">_assembleTestCasesList</a></td> 33 <td><a href="#_assembleTestCasesList">_assembleTestCasesList</a></td>
34 <td>Protected function to assemble a list of test cases included in a test suite.</td> 34 <td>Protected function to assemble a list of test cases included in a test suite.</td>
35 </tr> 35 </tr>
36 <tr> 36 <tr>
37 <td><a href="#runtest">runtest</a></td> 37 <td><a href="#runtest">runtest</a></td>
38 <td>Function to run the tests.</td> 38 <td>Function to run and/or discover the tests.</td>
39 </tr> 39 </tr>
40 </table> 40 </table>
41 <hr /> 41 <hr />
42 <hr /> 42 <hr />
43 <a NAME="EricTestResult" ID="EricTestResult"></a> 43 <a NAME="EricTestResult" ID="EricTestResult"></a>
289 <div align="right"><a href="#top">Up</a></div> 289 <div align="right"><a href="#top">Up</a></div>
290 <hr /> 290 <hr />
291 <hr /> 291 <hr />
292 <a NAME="_assembleTestCasesList" ID="_assembleTestCasesList"></a> 292 <a NAME="_assembleTestCasesList" ID="_assembleTestCasesList"></a>
293 <h2>_assembleTestCasesList</h2> 293 <h2>_assembleTestCasesList</h2>
294 <b>_assembleTestCasesList</b>(<i>suite</i>) 294 <b>_assembleTestCasesList</b>(<i>suite, start</i>)
295 295
296 <p> 296 <p>
297 Protected function to assemble a list of test cases included in a test 297 Protected function to assemble a list of test cases included in a test
298 suite. 298 suite.
299 </p> 299 </p>
301 301
302 <dt><i>suite</i> (unittest.TestSuite)</dt> 302 <dt><i>suite</i> (unittest.TestSuite)</dt>
303 <dd> 303 <dd>
304 test suite to be inspected 304 test suite to be inspected
305 </dd> 305 </dd>
306 <dt><i>start</i> (str)</dt>
307 <dd>
308 name of directory discovery was started at
309 </dd>
306 </dl> 310 </dl>
307 <dl> 311 <dl>
308 <dt>Return:</dt> 312 <dt>Return:</dt>
309 <dd> 313 <dd>
310 list of tuples containing the test case ID, the string 314 list of tuples containing the test case ID, the string representation,
311 representation and the short description 315 a short description and the path of the test file name
312 </dd> 316 </dd>
313 </dl> 317 </dl>
314 <dl> 318 <dl>
315 <dt>Return Type:</dt> 319 <dt>Return Type:</dt>
316 <dd> 320 <dd>
317 list of tuples of (str, str) 321 list of tuples of (str, str, str, str)
318 </dd> 322 </dd>
319 </dl> 323 </dl>
320 <div align="right"><a href="#top">Up</a></div> 324 <div align="right"><a href="#top">Up</a></div>
321 <hr /> 325 <hr />
322 <hr /> 326 <hr />
323 <a NAME="runtest" ID="runtest"></a> 327 <a NAME="runtest" ID="runtest"></a>
324 <h2>runtest</h2> 328 <h2>runtest</h2>
325 <b>runtest</b>(<i>argv</i>) 329 <b>runtest</b>(<i>argv, discoverOnly=False</i>)
326 330
327 <p> 331 <p>
328 Function to run the tests. 332 Function to run and/or discover the tests.
329 </p> 333 </p>
330 <dl> 334 <dl>
331 335
332 <dt><i>argv</i> (list of str)</dt> 336 <dt><i>argv</i> (list of str)</dt>
333 <dd> 337 <dd>
334 list of command line parameters. 338 list of command line parameters.
335 </dd> 339 </dd>
340 <dt><i>discoverOnly</i> (bool (optional))</dt>
341 <dd>
342 flag indicating to just discover the available test cases
343 (defaults to False)
344 </dd>
336 </dl> 345 </dl>
337 <div align="right"><a href="#top">Up</a></div> 346 <div align="right"><a href="#top">Up</a></div>
338 <hr /> 347 <hr />
339 </body></html> 348 </body></html>

eric ide

mercurial