Revision: 3035
Author: pekka.klarck
Date: Mon Apr 19 13:56:41 2010
Log: explain how options are given
http://code.google.com/p/robotframework/source/detail?r=3035

Modified:
 /trunk/doc/userguide/src/ExecutingTestCases/BasicUsage.txt

=======================================
--- /trunk/doc/userguide/src/ExecutingTestCases/BasicUsage.txt Mon Apr 12 06:22:27 2010 +++ /trunk/doc/userguide/src/ExecutingTestCases/BasicUsage.txt Mon Apr 19 13:56:41 2010
@@ -14,6 +14,16 @@
 Starting test execution
 ~~~~~~~~~~~~~~~~~~~~~~~

+Synopsis
+''''''''
+
+::
+
+   pybot [options] datasources
+   jybot [options] datasources
+   interpreter /path/to/robot/runner.py [options] datasources
+
+
 Different runner scripts
 ''''''''''''''''''''''''

@@ -65,8 +75,7 @@

    pybot test_cases.html
    pybot path/to/my_tests/
-   pybot /opt/robot/tests.html
-   pybot c:\robot\tests.html
+   pybot c:\robot\tests.txt

 It is also possible to give paths to several test case files or
 directories at once, separated with spaces. In this case, Robot
@@ -118,10 +127,19 @@

 Robot Framework provides a number of command line options that can be
 used to control how test cases are executed and what outputs are
-generated. The syntax for using them is explained in this
-section. What options actually exist and how they can be used is
+generated. This section explains the option syntax, and what
+options actually exist and how they can be used is
 discussed elsewhere in this chapter.

+Using options
+`````````````
+
+When options are used, they must always be given between the runner
+script and the data sources. For example::
+
+   pybot -L debug my_tests.txt
+   jybot --include smoke --variable HOST:10.0.0.42 path/to/tests/
+
 Short and long options
 ``````````````````````



--
Subscription settings: 
http://groups.google.com/group/robotframework-commit/subscribe?hl=en

Reply via email to