Revision: 50fe52deaab8
Branch: default
Author: Pekka Klärck
Date: Fri May 31 00:20:43 2013
Log: moved runfailed tests under runner suite
http://code.google.com/p/robotframework/source/detail?r=50fe52deaab8
Added:
/atest/robot/cli/runner/runfailed.txt
/atest/robot/cli/runner/runfailed_corners.txt
Deleted:
/atest/robot/cli/runfailed/corners.txt
/atest/robot/cli/runfailed/runfailed.txt
=======================================
--- /dev/null
+++ /atest/robot/cli/runner/runfailed.txt Fri May 31 00:20:43 2013
@@ -0,0 +1,35 @@
+*** Settings ***
+Suite Setup Suite initialization
+Force Tags regression pybot jybot
+Resource atest_resource.txt
+
+*** Variables ***
+${RUN FAILED FROM} %{TEMPDIR}${/}run-failed-output.xml
+
+*** Test Cases ***
+Check that passing is not executed
+ Run Keyword And Expect Error No test 'Passing' found* Check Test
Case Passing
+
+Check that failing is executed
+ Check Test Case Failing
+
+Check that explicitly selected is executed
+ Check Test Case Selected
+
+Check that excluded failing is not executed
+ Run Keyword And Expect Error No test 'Failing with tag' found* Check
Test Case Failing with tag
+
+Check that non-existing failing from output file is not executed
+ Run Keyword And Expect Error No test 'Only in one suite' found*
Check Test Case Only in one suite
+
+Check that failing test case from subsuite is executed
+ Check Test Case Really Failing
+
+*** Keywords ***
+Suite initialization
+ Copy File ${DATADIR}/cli/runfailed/runfailed1.txt
${DATADIR}/cli/runfailed/suite/runfailed.txt
+ Run Tests ${EMPTY} cli/runfailed/suite
+ Copy File ${OUTFILE} ${RUN FAILED FROM}
+ Copy File ${DATADIR}/cli/runfailed/runfailed2.txt
${DATADIR}/cli/runfailed/suite/runfailed.txt
+ Run Tests --runfailed ${RUN FAILED FROM} --test Selected --exclude
tag cli/runfailed/suite
+ [Teardown] Remove Files ${RUN FAILED FROM}
${DATADIR}/cli/runfailed/suite/runfailed.txt
=======================================
--- /dev/null
+++ /atest/robot/cli/runner/runfailed_corners.txt Fri May 31 00:20:43 2013
@@ -0,0 +1,46 @@
+*** Settings ***
+Force Tags regression pybot jybot
+Resource atest_resource.txt
+Suite Teardown Remove File ${RUN FAILED FROM}
+
+*** Variables ***
+${RUN FAILED FROM} %{TEMPDIR}${/}run-failed-output.xml
+
+*** Test Cases ***
+Runs everything when output is set to NONE
+ Run Tests --RunFailed NoNe cli/runfailed/onlypassing
+ File Should Exist ${OUTFILE}
+ Check Test Case Passing
+
+Stops on error when output contains only passing test cases
+ Generate output cli/runfailed/onlypassing
+ Run Tests Without Processing Output -R ${RUN FAILED FROM}
cli/runfailed/onlypassing
+ Stderr Should Be Equal To
+ ... [ ERROR ] Collecting failed tests from '${RUN FAILED FROM}'
failed: All tests passed.${USAGE TIP}\n
+
+Stops on error when output contains only non-existing failing test cases
+ Generate output cli/runfailed/runfailed2.txt
+ Run Tests Without Processing Output --RUNF ${RUN FAILED FROM}
cli/runfailed/onlypassing
+ Stderr Should Be Equal To
+ ... [ ERROR ] Suite 'Onlypassing' contains no tests
named 'Runfailed2.Failing' or 'Runfailed2.Failing With Tag'.${USAGE TIP}\n
+
+Stops on error when output does not exist
+ Run Tests Without Processing Output --runfailed nonex.xml
cli/runfailed/onlypassing
+ Stderr Should Be Equal To
+ ... [ ERROR ] Collecting failed tests from 'nonex.xml' failed:
+ ... Reading XML source 'nonex.xml' failed:
+ ... No such file or directory${USAGE TIP}\n
+
+Stops on error when output is invalid
+ Create File ${RUN FAILED FROM} <xml><but not='correct'/></xml>
+ Run Tests Without Processing Output --runfailed ${RUN FAILED FROM}
cli/runfailed/onlypassing
+ Stderr Should Be Equal To
+ ... [ ERROR ] Collecting failed tests from '${RUN FAILED FROM}'
failed:
+ ... Reading XML source '${RUN FAILED FROM}' failed:
+ ... Incompatible XML element 'xml'${USAGE TIP}\n
+
+*** Keywords ***
+Generate Output
+ [Arguments] ${datafile}
+ Run Tests ${EMPTY} ${datafile}
+ Copy File ${OUTFILE} ${RUN FAILED FROM}
=======================================
--- /atest/robot/cli/runfailed/corners.txt Tue May 28 12:33:13 2013
+++ /dev/null
@@ -1,46 +0,0 @@
-*** Settings ***
-Force Tags regression pybot jybot
-Resource atest_resource.txt
-Suite Teardown Remove File ${RUN FAILED FROM}
-
-*** Variables ***
-${RUN FAILED FROM} %{TEMPDIR}${/}run-failed-output.xml
-
-*** Test Cases ***
-Runs everything when output is set to NONE
- Run Tests --RunFailed NoNe cli/runfailed/onlypassing
- File Should Exist ${OUTFILE}
- Check Test Case Passing
-
-Stops on error when output contains only passing test cases
- Generate output cli/runfailed/onlypassing
- Run Tests Without Processing Output -R ${RUN FAILED FROM}
cli/runfailed/onlypassing
- Stderr Should Be Equal To
- ... [ ERROR ] Collecting failed tests from '${RUN FAILED FROM}'
failed: All tests passed.${USAGE TIP}\n
-
-Stops on error when output contains only non-existing failing test cases
- Generate output cli/runfailed/runfailed2.txt
- Run Tests Without Processing Output --RUNF ${RUN FAILED FROM}
cli/runfailed/onlypassing
- Stderr Should Be Equal To
- ... [ ERROR ] Suite 'Onlypassing' contains no tests
named 'Runfailed2.Failing' or 'Runfailed2.Failing With Tag'.${USAGE TIP}\n
-
-Stops on error when output does not exist
- Run Tests Without Processing Output --runfailed nonex.xml
cli/runfailed/onlypassing
- Stderr Should Be Equal To
- ... [ ERROR ] Collecting failed tests from 'nonex.xml' failed:
- ... Reading XML source 'nonex.xml' failed:
- ... No such file or directory${USAGE TIP}\n
-
-Stops on error when output is invalid
- Create File ${RUN FAILED FROM} <xml><but not='correct'/></xml>
- Run Tests Without Processing Output --runfailed ${RUN FAILED FROM}
cli/runfailed/onlypassing
- Stderr Should Be Equal To
- ... [ ERROR ] Collecting failed tests from '${RUN FAILED FROM}'
failed:
- ... Reading XML source '${RUN FAILED FROM}' failed:
- ... Incompatible XML element 'xml'${USAGE TIP}\n
-
-*** Keywords ***
-Generate Output
- [Arguments] ${datafile}
- Run Tests ${EMPTY} ${datafile}
- Copy File ${OUTFILE} ${RUN FAILED FROM}
=======================================
--- /atest/robot/cli/runfailed/runfailed.txt Mon May 20 04:01:05 2013
+++ /dev/null
@@ -1,35 +0,0 @@
-*** Settings ***
-Suite Setup Suite initialization
-Force Tags regression pybot jybot
-Resource atest_resource.txt
-
-*** Variables ***
-${RUN FAILED FROM} %{TEMPDIR}${/}run-failed-output.xml
-
-*** Test Cases ***
-Check that passing is not executed
- Run Keyword And Expect Error No test 'Passing' found* Check Test
Case Passing
-
-Check that failing is executed
- Check Test Case Failing
-
-Check that explicitly selected is executed
- Check Test Case Selected
-
-Check that excluded failing is not executed
- Run Keyword And Expect Error No test 'Failing with tag' found* Check
Test Case Failing with tag
-
-Check that non-existing failing from output file is not executed
- Run Keyword And Expect Error No test 'Only in one suite' found*
Check Test Case Only in one suite
-
-Check that failing test case from subsuite is executed
- Check Test Case Really Failing
-
-*** Keywords ***
-Suite initialization
- Copy File ${DATADIR}/cli/runfailed/runfailed1.txt
${DATADIR}/cli/runfailed/suite/runfailed.txt
- Run Tests ${EMPTY} cli/runfailed/suite
- Copy File ${OUTFILE} ${RUN FAILED FROM}
- Copy File ${DATADIR}/cli/runfailed/runfailed2.txt
${DATADIR}/cli/runfailed/suite/runfailed.txt
- Run Tests --runfailed ${RUN FAILED FROM} --test Selected --exclude
tag cli/runfailed/suite
- [Teardown] Remove Files ${RUN FAILED FROM}
${DATADIR}/cli/runfailed/suite/runfailed.txt
--
---
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.