mirror of
https://github.com/Karaka-Management/Developer-Guide.git
synced 2026-01-26 19:08:41 +00:00
fix tests
This commit is contained in:
parent
316b2b2345
commit
ec8594c193
|
|
@ -13,7 +13,7 @@ The following automated tests must pass without errors, failures and warnings fo
|
||||||
* `php ./vendor/bin/phpunit -c tests/phpunit_no_coverage.xml`
|
* `php ./vendor/bin/phpunit -c tests/phpunit_no_coverage.xml`
|
||||||
* `php ./vendor/bin/rector process --config Build/Config/rector.php --dry-run ./`
|
* `php ./vendor/bin/rector process --config Build/Config/rector.php --dry-run ./`
|
||||||
* `npx eslint ./ -c Build/Config/.eslintrc.json`
|
* `npx eslint ./ -c Build/Config/.eslintrc.json`
|
||||||
* `npx jasmine-node ./`
|
* `./Build/Config/jasmine_build.sh && npx jasmine --config=Build/Config/jasmine.json`
|
||||||
* `./cOMS/tests/test.sh`
|
* `./cOMS/tests/test.sh`
|
||||||
|
|
||||||
<p class="cT">
|
<p class="cT">
|
||||||
|
|
@ -224,7 +224,7 @@ php vendor/bin/rector process --dry-run --config Build/Config/rector.php ./
|
||||||
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.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npx jasmine-node ./
|
./Build/Config/jasmine_build.sh && npx jasmine --config=Build/Config/jasmine.json
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively you can open `http://127.0.0.1/jsOMS/tests/SpecRunner.html` to run the tests in your browser.
|
Alternatively you can open `http://127.0.0.1/jsOMS/tests/SpecRunner.html` to run the tests in your browser.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user