How to run unit tests for plugin FusionInventory for GLPI

Preprare installation

  1. Have a glpi installation
  2. URL to access this specific GLPI must be for version 0.84 of the plugin
  3. Put plugin FusionInventory in glpi/plugins like standard install
  4. Install a first time GLPI + plugin Fusion manually with web browser
  5. Install last version of phpunit, and all optionnal packages :

Run unit tests

Go in folder glpi/plugins/fuioninventory/phpunit/ and run :

phpunit AllTests.php