Skip to content
manuelh edited this page Mar 21, 2013 · 3 revisions

Unit tests can be run from the command line as follows:

To run all tests: phpunit [path to folder]

By default: (From the Solas-Match root folder) phpunit test/

Individual files: phpunit [Path to folder/file] phpunit test/api/BadgeDaoTest.php


Setup in Netbeans:

Tools -> Options -> PHP -> Unit Testing

Select location of PHPUnitScript and Skeleton Generator Script

If installed, they reside by default in /usr/bin/phpunit and /usr/bin/phpunit-skelgen

Clone this wiki locally