README file for PEL Test Suite
The tests run automatically on each commit on TravisCI. Status for the master branch is:
PEL Test Suite
This directory holds the PHPUnit test suite for PEL. The test suite consists of a number of core tests which exercise the basic functionality of PEL.
In addition to the core tests, one can download a set of image tests. These consist of example images taken from as many different camera models as possible together with a test case that will ensure that PEL can read the data in the image, and that it keeps interpreting the data in the same way. This ensures stability in the development process by making sure that PEL keeps reading images in the same way.
Running the Test Suite
First the make sure PHPUnit is downloaded. You can do so in the project's top directory via composer
composer update
Now from the top of the project, you can run
phpunit
Failing Tests
Should one or more of the tests fail, please report the error to the PEL developers:
https://github.com/pel/pel/issues
Remember to include all the output in your bug report.