PHP - Manual: Running the Driver's Tests
2024-12-23
The PECL package does not come with the tests, but they are available at » Github.
.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.
There is more information on running the tests in the contributing guidelines on » GitHub.
Please report any failures or errors in the » bugtracker. There may be skipped tests, these are normal and can be ignored.
New tests are always welcome! Please feel free to contribute new tests of any type testing any functionality.