Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
../../devtools/phpunit.php [--skipfreepbxbootstrap] [--moddimoddir=<module directory if not in a module already>]
  • skipfreepbxbootstrap - Skip loading FreePBX Framework for the unit test. Otherwise load FreePBX around the unit test. If this is not set your system has to have a fully functioning FreePBX and Asterisk setup.
  • moddir - If you are not running phpunit.php inside of the same module directory you intend to run it against you need to define the module directory

PHPUnit Docs