Run unit tests for plugin FusionInventory for GLPI¶
How to run unit tests for plugin FusionInventory for GLPI
Preprare installation¶
- Have a glpi installation
- URL to access this specific GLPI must be http://127.0.0.1/fusion0.84 for version 0.84 of the plugin
- Put plugin FusionInventory in glpi/plugins like standard install
- Install a first time GLPI + plugin Fusion manually with web browser
- Install last version of phpunit, and all optionnal packages : http://www.phpunit.de/manual/current/en/installation.html
Run unit tests¶
Go in folder glpi/plugins/fuioninventory/phpunit/ and run:
> phpunit AllTests.php