From 01944ece67dc4f7b691a0414e10f42e97e1dba1b Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 16 Apr 2021 12:00:20 +0200 Subject: Add test script to composer.json This makes it easier to run the test script directly from the editor it your editor supports composer. Otherwise run it from the command line: composer run test Or like before: ./run-tests --- composer.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 3b74061..fb612a3 100644 --- a/composer.json +++ b/composer.json @@ -15,5 +15,8 @@ ], "require-dev": { "wp-phpunit/wp-phpunit": "^5.7" + }, + "scripts": { + "test": "./run-tests" } } -- cgit v1.2.3