Revision: 3715
Author: pekka.klarck
Date: Mon Jun 7 04:25:39 2010
Log: cleanup
http://code.google.com/p/robotframework/source/detail?r=3715
Modified:
/trunk/doc/userguide/src/CreatingTestData/CreatingTestCases.txt
=======================================
--- /trunk/doc/userguide/src/CreatingTestData/CreatingTestCases.txt Mon
Jun 7 01:11:48 2010
+++ /trunk/doc/userguide/src/CreatingTestData/CreatingTestCases.txt Mon
Jun 7 04:25:39 2010
@@ -43,12 +43,12 @@
================== =========================== ==================
===============
Test Case Action Argument
Argument
================== =========================== ==================
===============
- Valid Login Open Login Page \ \
- \ Input Name demo \
- \ Input Password mode \
- \ Submit Credentials \ \
- \ Welcome Page Should Be Open \ \
- \ \ \ \
+ Valid Login Open Login Page
+ \ Input Name demo
+ \ Input Password mode
+ \ Submit Credentials
+ \ Welcome Page Should Be Open
+ \
Setting Variables Do Something first argument
second argument
\ ${value} = Get Some Value \
\ Should Be Equal ${value}
Expected value
@@ -89,12 +89,11 @@
================== =========================== ==================
===============
Test Case Action Argument
Argument
================== =========================== ==================
===============
- Test With Settings [Documentation] Another dummy test \
+ Test With Settings [Documentation] Another dummy test
\ [Tags] dummy
owner-johndoe
- \ Log Hello, world! \
+ \ Log Hello, world!
================== =========================== ==================
===============
-
Test case related settings in the Setting table
'''''''''''''''''''''''''''''''''''''''''''''''
@@ -117,7 +116,6 @@
The default value for `test case timeout`_. Timeouts_ are discussed in
their own section.
-
Using arguments
~~~~~~~~~~~~~~~
@@ -447,21 +445,21 @@
.. table:: Tagging example
:class: example
- ============ ========== ======= =======
- Setting Value Value Value
- ============ ========== ======= =======
- Force Tags req-42 \ \
- Default Tags owner-john smoke \
- ============ ========== ======= =======
+ ============ ========== ======= =======
+ Setting Value Value Value
+ ============ ========== ======= =======
+ Force Tags req-42
+ Default Tags owner-john smoke
+ ============ ========== ======= =======
.. table::
:class: example
- ========== ========= ======= =======
- Variable Value Value Value
- ========== ========= ======= =======
- ${HOST} 10.0.1.42 \ \
- ========== ========= ======= =======
+ ========== ========= ======= =======
+ Variable Value Value Value
+ ========== ========= ======= =======
+ ${HOST} 10.0.1.42
+ ========== ========= ======= =======
.. table::
:class: example
@@ -543,8 +541,8 @@
============= ================= ======= =======
Setting Value Value Value
============= ================= ======= =======
- Test Setup Open Application App A \
- Test Teardown Close Application \ \
+ Test Setup Open Application App A
+ Test Teardown Close Application
============= ================= ======= =======
.. table::
@@ -554,20 +552,20 @@
Test Case Action Argument Argument
================== =============== ===================
==================
Default values [Documentation] Setup and teardown from setting
table
- \ Do Something \ \
- \ \ \ \
+ \ Do Something
+ \
Overridden setup [Documentation] Own setup, teardown from setting
table
\ [Setup] Open Application App B
- \ Do Something \ \
- \ \ \ \
+ \ Do Something
+ \
No teardown [Documentation] Default setup, no teardown at
all
- \ Do Something \ \
- \ [Teardown] \ \
- \ \ \ \
+ \ Do Something
+ \ [Teardown]
+ \
Using variables [Documentation] Setup and teardown given as
variables
- \ [Setup] ${SETUP} \
- \ Do Something \ \
- \ [Teardown] ${TEARDOWN} \
+ \ [Setup] ${SETUP}
+ \ Do Something
+ \ [Teardown] ${TEARDOWN}
================== =============== ===================
==================
Often when creating use-case-like test cases, the terms *precondition*