Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
19 lines
443 B
Markdown
19 lines
443 B
Markdown
# Testing
|
|
|
|
run test from console
|
|
|
|
``` bash
|
|
$ bin/phpunit
|
|
```
|
|
|
|
or you can setup vars for pdo driver like this
|
|
|
|
``` bash
|
|
export DB_NAME=acme && export DB_USER=acme && export DB_PASSWD=acme && export DB=mysql && export DB_HOST=acme && bin/phpunit
|
|
```
|
|
|
|
according to default credentials for travis CI you must run
|
|
|
|
``` bash
|
|
export DB_NAME=orm_behaviors_test && export DB_USER=root && unset DB_PASSWD && unset DB && unset DB_HOST && bin/phpunit
|
|
``` |