Revision: 3252
Author: janne.t.harkonen
Date: Tue May 11 00:44:33 2010
Log: Added another suite, resource file and variable files
http://code.google.com/p/robotframework/source/detail?r=3252
Added:
/trunk/atest/testdata/cli/dryrun/more_tests.txt
/trunk/atest/testdata/cli/dryrun/resource.txt
/trunk/atest/testdata/cli/dryrun/vars.py
Modified:
/trunk/atest/robot/cli/runner/dryrun.txt
/trunk/atest/testdata/cli/dryrun/dryrun.txt
=======================================
--- /dev/null
+++ /trunk/atest/testdata/cli/dryrun/more_tests.txt Tue May 11 00:44:33 2010
@@ -0,0 +1,6 @@
+*** Test Cases ***
+Some other test
+ [Documentation] FAIL Keyword 'BuiltIn.Log' expected 1 to 2 arguments,
got 0.
+ Fail
+ Log
+
=======================================
--- /dev/null
+++ /trunk/atest/testdata/cli/dryrun/resource.txt Tue May 11 00:44:33 2010
@@ -0,0 +1,17 @@
+*** Keywords ***
+Simple UK
+ Log Hello from UK
+
+Fail In UK
+ Fail
+ Fail And again
+
+For Loop in UK
+ @{list} = Create List 1 1 1
+ ::FOR ${i} ${j} ${k} IN @{list}
+ \ Should be Equal ${i} 0
+ Fail
+
+Anarchy in the UK
+ [Arguments] ${a1} ${a2} ${a3}
+ Fail ${a1}${2}${a3}
=======================================
--- /dev/null
+++ /trunk/atest/testdata/cli/dryrun/vars.py Tue May 11 00:44:33 2010
@@ -0,0 +1,1 @@
+RESOURCE_PATH = 'resource.txt'
=======================================
--- /trunk/atest/robot/cli/runner/dryrun.txt Tue May 11 00:22:47 2010
+++ /trunk/atest/robot/cli/runner/dryrun.txt Tue May 11 00:44:33 2010
@@ -1,18 +1,18 @@
*** Settings ***
-Suite Setup Run Tests --runmode dryrun cli/dryrun/dryrun.txt
+Suite Setup Run Tests --runmode dryrun cli/dryrun/
Force Tags regression pybot jybot
Resource atest_resource.txt
*** Test Cases ***
-No Failures
+Passing keywords
${tc}= Check Test Case ${TESTNAME}
Should have correct number of keywords ${tc} 3
Status should be ${tc} PASS
Status should be ${tc.kws[0]} NOT_RUN
Should have correct number of keywords ${tc.kws[2]} 1
-Failures
+Keywords that would fail
${tc}= Check Test Case ${TESTNAME}
Should have correct number of keywords ${tc} 3
Should have correct number of keywords ${tc.kws[1]} 2
@@ -45,6 +45,8 @@
Check Stderr Contains Variable file 'wrong_path.py' does not exist
Check Stderr Contains Resource file 'NonExisting.tsv' does not exist
+Test from other suite
+ Check Test Case Some Other Test
*** Keywords ***
Should have correct number of keywords
=======================================
--- /trunk/atest/testdata/cli/dryrun/dryrun.txt Tue May 11 00:22:47 2010
+++ /trunk/atest/testdata/cli/dryrun/dryrun.txt Tue May 11 00:44:33 2010
@@ -10,12 +10,12 @@
*** Test Cases ***
-No Failures
+Passing keywords
Log Hello from test
${contents}= List Directory .
Simple UK
-Failures
+Keywords that would fail
Fail
Fail In Uk
No Operation
@@ -54,3 +54,4 @@
@{empty list} Create List
Convert to Number 1 @{empty list} @{empty list}
Should Be Equal @{foo
+