<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Running the Driver's Tests</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongo.trouble.html">Troubleshooting</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongo.core.html">Core Classes</a></div> <div class="up"><a href="mongo.manual.html">Manual</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="mongo.testing" class="chapter"> <h1>Running the Driver's Tests</h1> <p class="para"> The PECL package does not come with the tests, but they are available at <a href="http://github.com/mongodb/mongo-php-driver" class="link external">» Github</a>. </p> <div class="section"> <h2 class="title">.phpt Tests</h2> <p class="para"> .phpt tests are the standard way of testing PHP extensions. After compiling the MongoDB driver with "make" you can then issue "make test" to run the tests. These tests require MongoDB to be working, and hence, you need to configure the test suite itself. </p> <p class="para"> There is more information on running the tests in the contributing guidelines on <a href="https://github.com/mongodb/mongo-php-driver/blob/master/CONTRIBUTING.md#running-the-tests" class="link external">» GitHub</a>. </p> </div> <div class="section"> <h2 class="title">Reporting Errors</h2> <p class="para"> Please report any failures or errors in the <a href="http://jira.mongodb.org/browse/PHP" class="link external">» bugtracker</a>. There may be skipped tests, these are normal and can be ignored. </p> <p class="para"> New tests are always welcome! Please feel free to contribute new tests of any type testing any functionality. </p> </div> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="mongo.trouble.html">Troubleshooting</a></div> <div class="next" style="text-align: right; float: right;"><a href="mongo.core.html">Core Classes</a></div> <div class="up"><a href="mongo.manual.html">Manual</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>