<ldtp> <category name="Executing Memo Testing"> <group name="tc_001"> <script name="1_test.py"> <test name="test start 1..."> <WARNING>for WARN 1</WARNING> <WARNING>for WARN 2</WARNING> </test> <pass>1</pass>!!! 1 </script> <script name="2_test.py"> <test name="test start 2..."> <ERROR>datafile not present</ERROR> </test>!!! 2 <pass>0</pass> </script> <timeinfo start="19:03:31 PM on 25-Dec-2006" elapsed="0:0:3"></timeinfo>!!! 3 </group> <group name="tc_002"> <script name="4_test.py"> <test name="test start 3..."> <ERROR>Traceback (most recent call last): File "/usr/local/bin/ldtprunner", line 296, in executescript execfile (scriptname, scriptglobal) File "3_test.py", line 10, in <module> raise "hah" hah </ERROR> </test>!!! <pass>0</pass> </script> <timeinfo start="19:03:34 PM on 25-Dec-2006" elapsed="0:0:1"></timeinfo> </group> </category> <category name="Executing Calendar Testing"> <group name="tc_003"> <script name="5_test.py"> <test name="test start 4..."> <debug>record was exist</debug> </test> <pass>1</pass> </script> <timeinfo start="19:03:36 PM on 25-Dec-2006" elapsed="0:0:1"></timeinfo> </group> </category> <timeinfo start="19:03:31 PM on 25-Dec-2006" elapsed="0:0:7"></timeinfo>!!! 4 <groupstatus total="3" pass="1" fail="2"></groupsstatus>!!! 5</ldtp>========== Note On this XML ===========Summary: there are 2 categories, 3 groups (testcases) there are 4 timeinfo (3 groups + 1 total) there is 1 groupstatus for how many groups passed or failed!!! 1: the 'pass' will appear around </script>!!! 2: whatever the script failed or passed, </test> should be wrapped inside the script!!! 3: this timeinfo tell us the timing which being executed in this group!!! 4: this timeinfo tell us the timing which being executed in all of groups!!! 5: how many groups passed or failed