public class RobotFramework
extends java.lang.Object
Constructor and Description |
---|
RobotFramework() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Entry point when used as a main program.
|
static int |
run(java.lang.String[] args)
Runs Robot Framework.
|
public static void main(java.lang.String[] args)
run(java.lang.String[])
to run Robot Framework and calls
System.exit(int)
with the return code.args
- The command line options, passed to run
.public static int run(java.lang.String[] args)
The default action is to run tests, but it is also possible to use
other RF functionality by giving a command as a first value in
args
. The available commands are
Example usages:
run(new String[] {"--outputdir", "/tmp", "mytests.txt"})
run(new String[] {"libdoc", "MyLibrary", "mydoc.html"})
args
- The command line options to Robot Framework.