diff options
Diffstat (limited to 'content/xdocs/PythonBrokerTest.html')
-rwxr-xr-x | content/xdocs/PythonBrokerTest.html | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/content/xdocs/PythonBrokerTest.html b/content/xdocs/PythonBrokerTest.html new file mode 100755 index 0000000000..94b1f0598b --- /dev/null +++ b/content/xdocs/PythonBrokerTest.html @@ -0,0 +1,66 @@ +<html> + <head> + <title>Apache Qpid : PythonBrokerTest</title> + <link rel="stylesheet" href="styles/site.css" type="text/css" /> + <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> + </head> + + <body> + <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff"> + <tr> + <td valign="top" class="pagebody"> + <div class="pageheader"> + <span class="pagetitle"> + Apache Qpid : PythonBrokerTest + </span> + </div> + <div class="pagesubheading"> + This page last changed on Oct 19, 2006 by <font color="#0050B2">mmccorma</font>. + </div> + + <h2><a name="PythonBrokerTest-PythonBrokerSystemTestSuite"></a>Python Broker System Test Suite </h2> + +<p>This is a suite of python client tests that exercise and verify broker functionality. Python allows us to rapidly develop client test scenarios and provides a 'neutral' set of tests that can run against any AMQP-compliant broker.</p> + +<p>The python/tests directory contains a collection of python modules, each containing several unittest classes, each containing a set of test methods that represent some test scenario. Test classes inheirt <tt>qpid.TestBas</tt> from <tt>qpid/testlib.py</tt>, it inherits <tt>unittest.TestCase</tt> but adds some qpid-specific <tt>setUp/tearDown</tt> and convenience functions. </p> + +<p>TODO: get pydoc generated up to qpid wiki or website automatically?</p> + +<h3><a name="PythonBrokerTest-Runningthetests"></a>Running the tests </h3> + +<p>Simplest way to run the tests:</p> + +<ul> + <li>Run a broker on the default port</li> + <li><tt>./run_tests</tt></li> +</ul> + + +<p>For additional options: <tt>./run_tests --help</tt></p> + +<h3><a name="PythonBrokerTest-Expectedfailures"></a>Expected failures </h3> + +<p>Until we complete functionality, tests may fail because the tested<br/> +functionality is missing in the broker. To skip expected failures<br/> +in the C++ or Java brokers:</p> +<div class="code"><div class="codeContent"> +<pre class="code-java">./run_tests -I cpp_failing.txt
+ ./run_tests -I java_failing.txt</pre> +</div></div> +<p>If you fix a failure, please remove it from the corresponding list.</p> + + + + </td> + </tr> + </table> + <table border="0" cellpadding="0" cellspacing="0" width="100%"> + <tr> + <td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td> + </tr> + <tr> + <td align="center"><font color="grey">Document generated by Confluence on Apr 22, 2008 02:47</font></td> + </tr> + </table> + </body> +</html>
\ No newline at end of file |