diff --git a/Tests/bootstrap.php b/Tests/bootstrap.php new file mode 100644 index 00000000..50b285c5 --- /dev/null +++ b/Tests/bootstrap.php @@ -0,0 +1,44 @@ +loadYaml(dirname(__DIR__) . '/PHPCI/config.yml'); +} + +require_once(dirname(__DIR__) . '/vars.php'); diff --git a/composer.json b/composer.json index acafd3a5..7ccbc600 100644 --- a/composer.json +++ b/composer.json @@ -34,11 +34,11 @@ }, "require-dev": { + "phpunit/phpunit": "3.7.*", "phpspec/prophecy-phpunit": "1.*" }, "suggest": { - "phpunit/phpunit": "PHP unit testing framework", "phpmd/phpmd": "PHP Mess Detector", "sebastian/phpcpd": "PHP Copy/Paste Detector", "squizlabs/php_codesniffer": "PHP Code Sniffer", diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 00000000..15bd43aa --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,24 @@ + + + + + + ./Tests/PHPCI/Helper + + + ./Tests/PHPCI/Logging + + + ./Tests/PHPCI/Plugin + + +