phpunit.xml.dist
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.1/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>./vendor</directory>
<directory>./tests</directory>
</blacklist>
</filter>
<php>
<const name="DB_DSN" value="mysql:host=localhost;dbname=luya_crawler_phpunit" />
<const name="DB_USER" value="root" />
<const name="DB_PASS" value="defaultPassword" />
</php>
</phpunit>