Bonjour,
Disclaimer: It is probably a stupid mistake on my part. To repeat my stupid mistake, do the following:
- Setup a development environment as instructed in the tutorial and verify it works as expected by defining a user and login in
- Install phpunit
-
Generate an app named foobar and verify it says Hello world when going to
/apps/foobar
- Go to the
apps/foobar
directory and run
# phpunit -c phpunit.xml PHP Warning: require_once(PHPUnit/Autoload.php): failed to open stream: No such file or directory in /var/www/html/apps/foobar/tests/bootstrap.php on line 16 PHP Fatal error: require_once(): Failed opening required 'PHPUnit/Autoload.php' (include_path='/var/www/html/3rdparty/pear/console_getopt:/var/www/html/3rdparty/pear/pear_exception:/var/www/html/3rdparty/pear/pear-core-minimal/src:/var/www/html/3rdparty/pear/archive_tar:/var/www/html/apps') in /var/www/html/apps/foobar/tests/bootstrap.php on line 16
I would be super happy if someone could tell me what stupid mistake I made
Thanks in advance!