Fixed 'Tests' README.md section after tests refactoring.
This commit is contained in:
parent
a8583ff2a7
commit
3918e6325d
|
@ -222,18 +222,14 @@ cd /path/to/php-censor
|
||||||
```bash
|
```bash
|
||||||
cd /path/to/php-censor
|
cd /path/to/php-censor
|
||||||
|
|
||||||
# For testing on MySQL
|
./vendor/bin/phpunit --configuration ./phpunit.xml --coverage-html ./tests/runtime/coverage -vvv --colors=always
|
||||||
./vendor/bin/phpunit --configuration ./phpunit.mysql.xml
|
|
||||||
|
|
||||||
# For testing on PostgreSQL
|
|
||||||
./vendor/bin/phpunit --configuration ./phpunit.pgsql.xml
|
|
||||||
```
|
```
|
||||||
|
|
||||||
For Phar plugin tests set 'phar.readonly' setting to Off (0) in `php.ini` config. Otherwise tests will be skipped.
|
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/<empty>`
|
For database B8Framework tests create empty 'b8_test' database on 'localhost' with user/password: `root/<empty>`
|
||||||
for MySQL and with user/password: `postgres/<empty>` for PostgreSQL (You can change default test user, password and
|
for MySQL and with user/password: `postgres/<empty>` 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
|
## Documentation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue