2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-22 05:42:52 +00:00
Files
website/common/code/test/README.txt
Daniel James 5dfc5183e0 Fix a couple of error handling issues
- Use `http_response_code` as it's a bit more robust than using `header`.
- Check errors against `error_reporting()`, so that error checks can be
  ignored when appropriate.
2017-02-09 13:28:45 +00:00

21 lines
579 B
Plaintext

Most of the website is completely self-contained, but the tests use composer
to pull in some dependencies. You'll need to install composer from
https://getcomposer.org/
Then in this directory run:
composer install
And that should install all the dependencies into the `vendor` directory.
You should now be able to run individual tests directly:
php filters.phpt
Or run all the tests using something like:
./vendor/bin/tester -p php -c config/php.ini tests
Although for a full test including things like http headers, should try to use
a `php-cgi` executable.