In my case,
some programs save file or create new file in git continuoly so it make sourcetree refresh continuously.
Example: crontab alway run to save files. so try removing crontab.
Friday, 12 August 2016
Wednesday, 10 August 2016
Error: No code coverage driver is available phpunit test
Just turn on x debug in your server
in centos
sudo vi /etc/php.d/15-xdebug.ini
in centos
sudo vi /etc/php.d/15-xdebug.ini
Tuesday, 9 August 2016
common used functions in testing cakephp 3x
Command line
./vendor/bin/phpunit tests/TestCase/Model/Table/UsersTableTestvendor/bin/phpunit tests/TestCase/Controller/SettingsControllerTest.php
vendor/bin/phpunit tests/TestCase/Controller/UsersControllerTest.php --coverage-html webroot/coverage --whitelist src/Controller/UsersController.php
Monday, 4 July 2016
MissingDatasourceConfigException: The datasource configuration "default"...
https://github.com/cakephp/bookmarker-tutorial/blob/master/tests/bootstrap.php
https://github.com/cakephp/bookmarker-tutorial/blob/master/phpunit.xml.dist
Subscribe to:
Posts (Atom)