2010-05-14 16:48:51 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- $Revision$ -->
|
|
|
|
|
2012-11-28 03:03:34 +00:00
|
|
|
<chapter xml:id="mongo.testing" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2010-05-14 16:48:51 +00:00
|
|
|
<title>Running the Driver's Tests</title>
|
|
|
|
|
|
|
|
<para>
|
2011-05-23 20:07:22 +00:00
|
|
|
The PECL package does not come with the tests, but they are available at
|
2013-04-23 08:36:22 +00:00
|
|
|
<link xlink:href="&url.mongodb.github;">Github</link>.
|
2010-05-14 16:48:51 +00:00
|
|
|
</para>
|
2011-05-23 20:07:22 +00:00
|
|
|
|
2012-11-29 13:27:04 +00:00
|
|
|
<section>
|
|
|
|
<title>.phpt Tests</title>
|
|
|
|
<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
|
2013-04-23 08:36:22 +00:00
|
|
|
configure the test suite itself.
|
2012-11-29 13:27:04 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2013-04-23 08:36:22 +00:00
|
|
|
There is more information on running the tests in the contributing
|
|
|
|
guidelines on
|
2012-11-29 13:27:04 +00:00
|
|
|
<link xlink:href="https://github.com/mongodb/mongo-php-driver/blob/master/CONTRIBUTING.md#running-the-tests">GitHub</link>.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
2011-05-23 20:07:22 +00:00
|
|
|
<section>
|
|
|
|
<title>Reporting Errors</title>
|
|
|
|
<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>
|
2012-11-28 03:03:34 +00:00
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|
|
|
|
|