canaltp / sam-core-bundle
Symfony CanalTPSamCoreBundle
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
Package info
github.com/CanalTP/SamCoreBundle
Type:symfony-bundle
pkg:composer/canaltp/sam-core-bundle
1.6.22
2021-08-06 09:15 UTC
Requires
- php: >=5.3.2
- canaltp/sam-ecore-application-manager-bundle: ~0.5
- canaltp/sam-ecore-security-manager-bundle: ~0.5
- canaltp/sam-ecore-user-manager-bundle: ^1.3
- canaltp/sam-monitoring-bundle: ^1.0
- friendsofsymfony/jsrouting-bundle: ~1.0
- knplabs/knp-menu-bundle: ~1.1
- stof/doctrine-extensions-bundle: ~1.0
- symfony/monolog-bundle: ~2.11.2
- symfony/swiftmailer-bundle: ~2.3
- willdurand/js-translation-bundle: ~2.0
Requires (Dev)
This package is not auto-updated.
Last update: 2022-04-04 11:26:14 UTC
README
This bundle is part of Navitia Mobility Manager It contains
- Entities (Application, Customer, Role...)
- Customer management
Unit Tests
Requirements : docker
You can launch unit tests following these steps :
- Build docker image
mkdir -p ${HOME}/.config/composer
_UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.test.yml build --no-cache --force-rm --pull samcore-app
- Launch composer
rm -f composer.lock
_UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.test.yml run --rm samcore-app composer install --no-interaction --prefer-dist
Note : first launch can be very long (>45mins) depending on your device resources.
- Launch unit tests
_UID=$(id -u) GID=$(id -g) docker-compose -f docker-compose.test.yml run --rm samcore-app \
./vendor/bin/phpunit --testsuite=SamCoreUnit --log-junit=docs/unit/logs/junit.xml --coverage-html=docs/unit/CodeCoverage --coverage-clover=docs/unit/logs/coverage.xml
You could see the coverage result in the folder docs/unit/CodeCoverage
License
This bundle is released under the GPL-3.0 License