Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 392 Bytes

README.tests.md

File metadata and controls

18 lines (13 loc) · 392 Bytes

How to run tests

Install GLPI tests

cd glpi/
php bin/console glpi:database:install --config-dir=tests --force
php bin/console glpi:plugin:install --config-dir=tests --username=glpi fusioninventory
php bin/console glpi:plugin:activate --config-dir=tests fusioninventory

Run FusionInventory tests

cd plugins/fusioninventory/
php vendor/bin/phpunit --testdox tests/