mirror of
https://github.com/getgrav/grav.git
synced 2025-11-01 19:05:58 +01:00
Add test script to composer
This commit is contained in:
@@ -120,4 +120,4 @@ See [LICENSE](LICENSE.txt)
|
||||
# Running Tests
|
||||
|
||||
First install the dev dependencies by running `composer update` from the Grav root.
|
||||
Then `./vendor/bin/codecept run unit` will run the Unit Tests, which should be always executed successfully on any site.
|
||||
Then `composer test` will run the Unit Tests, which should be always executed successfully on any site.
|
||||
|
||||
@@ -47,7 +47,8 @@
|
||||
"exclude": ["VERSION"]
|
||||
},
|
||||
"scripts": {
|
||||
"post-create-project-cmd": "bin/grav install"
|
||||
"post-create-project-cmd": "bin/grav install",
|
||||
"test": "vendor/bin/codecept run unit"
|
||||
},
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
|
||||
Reference in New Issue
Block a user