diff --git a/composer.json b/composer.json index 82067afc3..aee73b504 100644 --- a/composer.json +++ b/composer.json @@ -20,12 +20,20 @@ "donatj/phpuseragentparser": "dev-master", "pimple/pimple": "~3.0" }, + "require-dev": { + "phpunit/phpunit": "~4.2" + }, "autoload": { "psr-4": { "Grav\\": "system/src/Grav" }, "files": ["system/defines.php"] }, + "autoload-dev": { + "psr-4": { + "Grav\\Test\\": "system/tests/Grav/Test/" + } + }, "archive": { "exclude": ["VERSION"] }, diff --git a/system/tests/Grav/Test/.gitkeep b/system/tests/Grav/Test/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/system/tests/Grav/TestCase.php b/system/tests/Grav/TestCase.php new file mode 100644 index 000000000..718bbadcb --- /dev/null +++ b/system/tests/Grav/TestCase.php @@ -0,0 +1,8 @@ + + + + + ./Grav/ + + +