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.

1- moved xunit.py to lib folder
2- added a xunit_loaded value to turn off xunit xml generation in case lib/xunit.py is not present in the pythonpath
3- added sys.path.append("lib")
4- create a default name for test-suite

<?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-15 00:17:17.377000000

Uploaded patch set 3.

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