robot.testdoc
¶
Module implementing the command line entry point for the Testdoc tool.
This module can be executed from the command line using the following approaches::
1 2 | |
Instead of python it is possible to use also other Python interpreters.
This module also provides :func:testdoc and :func:testdoc_cli functions
that can be used programmatically. Other code is for internal usage.
testdoc_cli
¶
Executes Testdoc similarly as from the command line.
:param arguments: command line arguments as a list of strings.
For programmatic usage the :func:testdoc function is typically better. It
has a better API for that and does not call :func:sys.exit like
this function.
Example::
1 2 3 | |
Source code in src/robot/testdoc.py
testdoc
¶
Executes Testdoc programmatically.
Arguments and options have same semantics, and options have same names, as arguments and options to Testdoc.
Example::
1 2 3 | |