svn: /phpdoc/en/trunk/reference/mongo/ manual.xml testing.xml

From: Date: Fri, 14 May 2010 16:48:51 +0000
Subject: svn: /phpdoc/en/trunk/reference/mongo/ manual.xml testing.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6655@lists.php.net to get a copy of this message
kristina Fri, 14 May 2010 16:48:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299391 Log: added testing section Changed paths: U phpdoc/en/trunk/reference/mongo/manual.xml A phpdoc/en/trunk/reference/mongo/testing.xml Modified: phpdoc/en/trunk/reference/mongo/manual.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/manual.xml 2010-05-14 16:48:04 UTC (rev 299390) +++ phpdoc/en/trunk/reference/mongo/manual.xml 2010-05-14 16:48:51 UTC (rev 299391) @@ -10,6 +10,7 @@ &reference.mongo.connecting; &reference.mongo.queries; &reference.mongo.updates; + &reference.mongo.testing; &reference.mongo.trouble; <section> Added: phpdoc/en/trunk/reference/mongo/testing.xml =================================================================== --- phpdoc/en/trunk/reference/mongo/testing.xml (rev 0) +++ phpdoc/en/trunk/reference/mongo/testing.xml 2010-05-14 16:48:51 UTC (rev 299391) @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision$ --> + +<section xml:id="mongo.testing" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Running the Driver's Tests</title> + + <para> + The PECL package does not come with the PHP tests, but they are available at + <link xlink:href="&url.mongodb.github;">Github</link>. Download the driver + source and there are tests in the tests/ directory. The driver uses + <link xlink:href="&url.phpunit.install;">PHPUnit</link> for testing, which can + be installed via PEAR. + </para> + <para> + To run the tests, make sure that there is a MongoDB server running locally on + port 27017. Make sure you're in the main directory of the driver source you + downloaded from Github. Run: + </para> + <programlisting> +<![CDATA[ + +$ phpunit tests/MongoSuite.php + +]]> + </programlisting> + <para> + Please report any failures or errors in the + <link xlink:href="&url.mongodb.jira;">bugtracker</link>. There may be skipped + tests, these are normal and can be ignored. + </para> + <para> + New tests are always welcome! Please feel free to contribute new tests of any + type testing any functionality. + </para> +</section> Property changes on: phpdoc/en/trunk/reference/mongo/testing.xml ___________________________________________________________________ Added: svn:keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL

« previous php.doc.cvs (#6655) next »