Update tests.md

This commit is contained in:
Dennis Eichhorn 2018-07-31 11:19:11 +02:00 committed by GitHub
parent c8e05ad339
commit 43c7ba13a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,13 +9,13 @@ This application uses PHPUnit as unit testing framework. The PHPUnit directory i
In order to run all tests and also creating the dummy data for UI tests, execute the following command:
```sh
php phpunit.phar -c Tests/PHPUnit/phpunit_no_coverage.xml
php phpunit.phar -c tests/PHPUnit/phpunit_no_coverage.xml
```
In order to also create a code coverage report run:
```sh
php phpunit.phar -c Tests/PHPUnit/phpunit_default.xml
php phpunit.phar -c tests/PHPUnit/phpunit_default.xml
```
### Modules
@ -24,4 +24,4 @@ Every module needs to have a `Admin` directory containing a class called `AdminT
## Jasmine
The javascript testing is done with jasmine. The javascript testing directory is structured the same way as the `Framework`. Unit tests for specific classes need to be named in the same manner as the testing class.
The javascript testing is done with jasmine. The javascript testing directory is structured the same way as the `Framework`. Unit tests for specific classes need to be named in the same manner as the testing class.