diff --git a/README.md b/README.md index 3d3f95ed..6df31108 100644 --- a/README.md +++ b/README.md @@ -222,18 +222,14 @@ cd /path/to/php-censor ```bash cd /path/to/php-censor -# For testing on MySQL -./vendor/bin/phpunit --configuration ./phpunit.mysql.xml - -# For testing on PostgreSQL -./vendor/bin/phpunit --configuration ./phpunit.pgsql.xml +./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-html ./tests/runtime/coverage -vvv --colors=always ``` For Phar plugin tests set 'phar.readonly' setting to Off (0) in `php.ini` config. Otherwise tests will be skipped. For database B8Framework tests create empty 'b8_test' database on 'localhost' with user/password: `root/` for MySQL and with user/password: `postgres/` for PostgreSQL (You can change default test user, password and -database name in `phpunit.mysql|pgsql.xml` config). If connection failed tests will be skipped. +database name in `phpunit.xml` config constants). If connection failed tests will be skipped. ## Documentation