mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-16 06:28:40 +00:00
Update tests.md
This commit is contained in:
parent
c8e05ad339
commit
43c7ba13a7
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user