gzero / cms
Gzero CMS
Installs: 3 884
Dependents: 1
Suggesters: 0
Security: 0
Stars: 6
Watchers: 9
Forks: 1
Open Issues: 0
Requires
- php: >=7.1.0
- bkwld/croppa: ~4.0
- gzero/core: ^3.0.0
Requires (Dev)
- codeception/codeception: ^2.4
- flow/jsonpath: ^0.3.4
- fzaninotto/faker: ~1.6
- gzero/testing: ^3.0.0
- mockery/mockery: ^1.0
- orchestra/testbench: 3.5.*
- phpmd/phpmd: ^2.6
- phpunit/php-code-coverage: 5.2.*
- satooshi/php-coveralls: ^1.0
- squizlabs/php_codesniffer: ^3.1
This package is auto-updated.
Last update: 2024-11-16 22:17:09 UTC
README
Testing
To run the tests you need PHP >=7.1 and the following extensions:
- xml
- curl
- mbstring
- pgsql
- gd
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:
whole suit
composer test
single file
composer test tests/functional/api/ContentCest.php
single test
composer test tests/functional/api/ContentCest.php:shouldBeAbleToGetCategoryChildren
single test with --debug
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