2
0
mirror of https://github.com/boostorg/website.git synced 2026-01-27 19:32:16 +00:00
Files
website/common/code/test
Daniel James 48f05b1a47 Use html_encode that handles invalid UTF-8 everywhere
Trying to view documentation with an invalid path would cause an error when it
encoded the path in the 404 error page, so rather than fix that case, just use
a safer function everywhere. Although maybe should be a bit more cautious about
displaying user supplied text?
2018-02-09 17:21:53 +00:00
..
2016-09-29 02:08:52 +01:00

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.