Package Data | |
---|---|
Maintainer Username: | AdrianSkierniewski |
Maintainer Contact: | adrian.skierniewski@gmail.com (Adrian Skierniewski) |
Package Create Date: | 2014-04-03 |
Package Last Update: | 2019-03-16 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-26 15:06:02 |
Package Statistics | |
---|---|
Total Downloads: | 3,884 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 6 |
Total Watchers: | 9 |
Total Forks: | 1 |
Total Open Issues: | 0 |
To run the tests you need PHP >=7.1 and the following extensions:
To run tests, copy .env.example file to .env.testing and put your database credentials into it.
To run tests you can use one of these commands:
composer test
composer test tests/functional/api/ContentCest.php
composer test tests/functional/api/ContentCest.php:shouldBeAbleToGetCategoryChildren
composer test-debug tests/functional/api/ContentCest.php:shouldBeAbleToGetCategoryChildren
###Quality
./vendor/bin/phpmd src/ text phpmd.xml
./vendor/bin/phpcs --standard=ruleset.xml src/ -n --colors