From 1b107b6ef5f26edf52146f46e75f3f7692f16d5c Mon Sep 17 00:00:00 2001 From: creme332 <65414576+creme332@users.noreply.github.com> Date: Wed, 17 Jan 2024 16:36:03 +0400 Subject: [PATCH] add test script --- composer.json | 3 +++ docs/USAGE_GUIDE.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index a461324..d035a97 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,9 @@ "ext-pdo": "*", "ext-mbstring": "*" }, + "scripts": { + "test": "phpunit tests" + }, "autoload": { "psr-4": { "Steamy\\": "src/", diff --git a/docs/USAGE_GUIDE.md b/docs/USAGE_GUIDE.md index f243892..a84fbab 100644 --- a/docs/USAGE_GUIDE.md +++ b/docs/USAGE_GUIDE.md @@ -24,5 +24,5 @@ Go to http://localhost/steamy-sips/public/ in your browser to see the website. To run tests: ```bash -./vendor/bin/phpunit tests +composer tests ``` \ No newline at end of file