| Mantis Bug Tracker Developers Guide | ||
|---|---|---|
| <<< Previous | Contributing to MantisBT | Next >>> |
MantisBT has a suite of PHPUnit tests found in the tests
directory. You are encouraged to add your own tests for the patches you
are submitting, but please remember that your changes must not break
existing tests.
In order to run the tests, you will need to have the PHP Soap extension
and PHPUnit installed. The tests
are configured using a bootstrap.php file. The
boostrap.php.sample file contains the settings you will
need to adjust to run all the tests.
Running the unit tests is done from the tests directory
using the following command:
$ phpunit --bootstrap bootstrap.php AllTests.php
| <<< Previous | Home | Next >>> |
| Preparing Feature Branches | Up | Submitting Changes |