Skip to content

Instantly share code, notes, and snippets.

@cristopher-rodrigues
Last active February 7, 2017 02:08
Show Gist options
  • Save cristopher-rodrigues/6fdf49719c558b01c25a4949c0a17c66 to your computer and use it in GitHub Desktop.
Save cristopher-rodrigues/6fdf49719c558b01c25a4949c0a17c66 to your computer and use it in GitHub Desktop.
install phpunit

OLD

Download phpunit

wget https://phar.phpunit.de/phpunit-old.phar

Permittion to phpunit

chmod +x phpunit-old.phar

Move phpunit to bin sys

mv phpunit-old.phar /usr/local/bin/phpunit

Exec

phpunit --bootstrap test/bootstrap.php test/

NEW

Download phpunit

wget https://phar.phpunit.de/phpunit.phar

Permittion to phpunit

chmod +x phpunit.phar

Move phpunit to bin sys

mv phpunit.phar /usr/local/bin/phpunit

Exec

phpunit --bootstrap test/bootstrap.php test/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment