3 new revisions:

Revision: d6474e1fcbc3
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 05:55:06 2013
Log:      runfailed: Improve tests
http://code.google.com/p/robotframework/source/detail?r=d6474e1fcbc3

Revision: 579594e34cad
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 23:28:51 2013
Log:      runfailed: Tests for corner conditions
http://code.google.com/p/robotframework/source/detail?r=579594e34cad

Revision: 4c9268c92222
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 23:29:00 2013
Log:      Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=4c9268c92222

==============================================================================
Revision: d6474e1fcbc3
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 05:55:06 2013
Log:      runfailed: Improve tests
http://code.google.com/p/robotframework/source/detail?r=d6474e1fcbc3

Added:
 /atest/testdata/cli/runfailed/suite/subsuite/suite.txt
Modified:
 /atest/robot/cli/runfailed/runfailed.txt

=======================================
--- /dev/null
+++ /atest/testdata/cli/runfailed/suite/subsuite/suite.txt Thu May 16 05:55:06 2013
@@ -0,0 +1,6 @@
+*** Test Cases ***
+Failing
+  No Operation  # Not really failing..
+
+Really Failing
+  Fail
=======================================
--- /atest/robot/cli/runfailed/runfailed.txt    Wed May 15 05:36:12 2013
+++ /atest/robot/cli/runfailed/runfailed.txt    Thu May 16 05:55:06 2013
@@ -16,11 +16,18 @@
 Check that none existing failing from output file is not executed
Run Keyword And Expect Error No test 'None Existing' found* Check Test Case None Existing

+#Output contains only passing test cases
+
+#Output contains only none existing failing test cases
+
+Check that failing test case from subsuite is executed
+    Check Test Case   Really Failing   status=FAIL  message=AssertionError
+
 *** Keywords ***
 Suite initialization
- Copy File ${DATADIR}/cli/runfailed/runfailed1.txt ${DATADIR}/cli/runfailed/runfailed.txt
-    Run Tests  ${EMPTY}  cli/runfailed/runfailed.txt
+ Copy File ${DATADIR}/cli/runfailed/runfailed1.txt ${DATADIR}/cli/runfailed/suite/runfailed.txt
+    Run Tests  ${EMPTY}  cli/runfailed/suite
     Copy File  ${OUTFILE}  output.xml
- Copy File ${DATADIR}/cli/runfailed/runfailed2.txt ${DATADIR}/cli/runfailed/runfailed.txt - Run Tests --runfailed output.xml --test Selected cli/runfailed/runfailed.txt
-    Remove Files  output.xml  ${DATADIR}/cli/runfailed/runfailed.txt
+ Copy File ${DATADIR}/cli/runfailed/runfailed2.txt ${DATADIR}/cli/runfailed/suite/runfailed.txt
+    Run Tests  --runfailed output.xml --test Selected  cli/runfailed/suite
+    Remove Files  output.xml  ${DATADIR}/cli/runfailed/suite/runfailed.txt

==============================================================================
Revision: 579594e34cad
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 23:28:51 2013
Log:      runfailed: Tests for corner conditions
http://code.google.com/p/robotframework/source/detail?r=579594e34cad

Added:
 /atest/robot/cli/runfailed/corners.txt
 /atest/testdata/cli/runfailed/onlypassing/passing.txt
Modified:
 /atest/robot/cli/runfailed/runfailed.txt

=======================================
--- /dev/null
+++ /atest/robot/cli/runfailed/corners.txt      Thu May 16 23:28:51 2013
@@ -0,0 +1,20 @@
+*** Settings ***
+Force Tags      regression  pybot  jybot
+Resource        atest_resource.txt
+
+*** Test Cases ***
+Runs everything when output contains only passing test cases
+    Generate output  cli/runfailed/onlypassing  cli/runfailed/onlypassing
+    File Should Exist  ${OUTFILE}
+
+Stops on error when output contains only none existing failing test cases
+ Generate output cli/runfailed/runfailed2.txt cli/runfailed/onlypassing
+    File Should Not Exist  ${OUTFILE}
+    Check Stderr Contains Regexp  contains no test cases
+
+*** Keywords ***
+Generate output
+    [Arguments]  ${previous_execution}  ${execution}
+    Run Tests  ${EMPTY}  ${previous_execution}
+    Copy File  ${OUTFILE}  output.xml
+ Run Tests Without Processing Output --runfailed output.xml ${execution}
=======================================
--- /dev/null
+++ /atest/testdata/cli/runfailed/onlypassing/passing.txt Thu May 16 23:28:51 2013
@@ -0,0 +1,3 @@
+*** Test Cases ***
+Passing
+  No Operation
=======================================
--- /atest/robot/cli/runfailed/runfailed.txt    Thu May 16 05:55:06 2013
+++ /atest/robot/cli/runfailed/runfailed.txt    Thu May 16 23:28:51 2013
@@ -16,10 +16,6 @@
 Check that none existing failing from output file is not executed
Run Keyword And Expect Error No test 'None Existing' found* Check Test Case None Existing

-#Output contains only passing test cases
-
-#Output contains only none existing failing test cases
-
 Check that failing test case from subsuite is executed
     Check Test Case   Really Failing   status=FAIL  message=AssertionError


==============================================================================
Revision: 4c9268c92222
Branch:   default
Author:   Mikko Korpela <[email protected]>
Date:     Thu May 16 23:29:00 2013
Log:      Automated merge with https://code.google.com/p/robotframework/
http://code.google.com/p/robotframework/source/detail?r=4c9268c92222


--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to