diff --git a/README.md b/README.md index c2b6b9a3..9b8e4847 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ composer install ### Run tests with ```shell -vendor/bin/phpunit --testdox +composer test ``` ### Run Blueprints in a variety of ways @@ -82,7 +82,7 @@ vendor/bin/phpunit --testdox php examples/blueprint_compiling.php ``` -#### using a string containg a Blueprint (in JSON): +#### using a string containing a Blueprint (in JSON): ```shell php examples/json_string_compiling.php diff --git a/composer.json b/composer.json index 970a43f0..487361b7 100644 --- a/composer.json +++ b/composer.json @@ -37,5 +37,8 @@ "classmap": [ "tests/" ] + }, + "scripts": { + "test": "phpunit --testdox" } }