Revision: 2757
Author: janne.t.harkonen
Date: Mon Mar 29 01:16:58 2010
Log: Suite and test names instead of counts
http://code.google.com/p/robotframework/source/detail?r=2757

Modified:
 /trunk/src/robot/output/listeners.py

=======================================
--- /trunk/src/robot/output/listeners.py        Sun Mar 28 23:49:19 2010
+++ /trunk/src/robot/output/listeners.py        Mon Mar 29 01:16:58 2010
@@ -55,8 +55,8 @@
                 li.call_method(li.start_suite, suite.name, suite.doc)
             else:
                 attrs = self._get_start_attrs(suite, ['metadata'])
-                attrs.update({'testcount' : len(suite.tests),
-                              'suitecount': len(suite.suites),
+                attrs.update({'tests' : [ t.name for t in suite.tests ],
+                              'suites': [ s.name for s in suite.suites],
                               'totaltests': suite.get_test_count()})
                 li.call_method(li.start_suite, suite.name, attrs)

To unsubscribe from this group, send email to 
robotframework-commit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to