DESCRIPTION

modified testrunner code to generate a junit/xunit compatible report.xml file after the test execution is complete. we will be using this file to export the data and/or display it on a graph or etc for historical result comparisons.

<?xml version="1.0" ?>
<testsuite errors="5" failures="5" name="cool-suite :)" skip="0" tests="5" time="6.95875382423">
        <testcase name="install" time="6.95875382423">
                <error type="membase.error"/>
        </testcase>
        <testcase name="version-check" time="6.95875382423">
                <error type="membase.error"/>
        </testcase>
        <testcase name="simple-set-get" time="6.95875382423">
                <error type="membase.error"/>
        </testcase>
        <testcase name="expiry" time="6.95875382423">
                <error type="membase.error"/>
        </testcase>
        <testcase name="rebalance-2node" time="6.95875382423">
                <error type="membase.error"/>
        </testcase>
</testsuite>

Change-Id: Iac7132e5fe4511e5304253421574bbf5e4afc0e5


COMMENTS

author: Zackery Barr
date: 2011-03-14 23:17:32.686000000

Uploaded patch set 2.

-------------------------------------
author: Ayden Rivas
date: 2011-03-14 23:31:20.444000000

Patch Set 2: I would prefer that you didn't submit this

(2 inline comments)

move xunit.py to ./lib

Line:17, testrunner -> add "sys.path.append("lib")" here so you can reference xunit.py in the lib directory

Line:399, testrunner -> extra spaces needs to be removed

-------------------------------------
