Revision: c4c172280d3f
Branch:   default
Author:   Pekka Klärck
Date:     Thu Jan 30 10:07:17 2014 UTC
Log:      Ignore keywords when finding failed tests with --rerunfailed.

New issue
Summary: Faster finding of failed tests with `--rerunfailed`
Owner: pekka.klarck
Status: Done
Labels: Priority-Medium Type-Enhancement Target-2.8.4
Finding failed tests from the given output file requires parsing it. Now keywords are ignored already at parsing time which speeds up the process and saves memory. With large/huge output files the difference can be large/huge.
http://code.google.com/p/robotframework/source/detail?r=c4c172280d3f

Modified:
 /doc/userguide/src/Appendices/CommandLineOptions.rst
 /doc/userguide/src/ExecutingTestCases/PostProcessing.rst
 /src/robot/conf/gatherfailed.py

=======================================
--- /doc/userguide/src/Appendices/CommandLineOptions.rst Thu Jan 30 09:43:51 2014 UTC +++ /doc/userguide/src/Appendices/CommandLineOptions.rst Thu Jan 30 10:07:17 2014 UTC
@@ -94,6 +94,7 @@
   -s, --suite <name>      `Selects the test suites`_ by name.
   -i, --include <tag>     `Selects the test cases`_ by tag.
   -e, --exclude <tag>     `Selects the test cases`_ by tag.
+  -R, --rerunmerge        TODO
-c, --critical <tag> Tests that have the given tag are `considered critical`_. -n, --noncritical <tag> Tests that have the given tag are `not critical`_.
   -d, --outputdir <dir>   Defines where to `create output files`_.
=======================================
--- /doc/userguide/src/ExecutingTestCases/PostProcessing.rst Wed Oct 9 13:10:58 2013 UTC +++ /doc/userguide/src/ExecutingTestCases/PostProcessing.rst Thu Jan 30 10:07:17 2014 UTC
@@ -96,3 +96,6 @@
    rebot --include smoke --name Smoke_Tests c:\results\*.xml

 __ `Specifying test data to be executed`_
+
+Merging re-executed output
+~~~~~~~~~~~~~~~~~~~~~~~~~~
=======================================
--- /src/robot/conf/gatherfailed.py     Thu Jan 23 14:00:53 2014 UTC
+++ /src/robot/conf/gatherfailed.py     Thu Jan 30 10:07:17 2014 UTC
@@ -36,7 +36,7 @@
         return []
     gatherer = GatherFailedTests()
     try:
-        ExecutionResult(output).suite.visit(gatherer)
+ ExecutionResult(output, include_keywords=False).suite.visit(gatherer)
         if not gatherer.tests:
             raise DataError('All tests passed.')
     except:

--

--- 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 robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to