In order to make sure that our backend php connector is working as expecting, we're using travis-cli.org and phpunit.
Unit tests live in the Tests/ directory. To run test on the commandline execute phpunit
in the gomexsi root folder.
In addition to being able to run this on the commandline, travis-cli.org also runs the tests on each and every git commit.
Example output:
jorrit$ phpunit
Configuration read from /Volumes/Data/Users/jorrit/dev/gomexsi/phpunit.xml
.......................
Time: 10 seconds, Memory: 7.00Mb
OK (23 tests, 85 assertions)