diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-04-27 18:53:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-04-28 01:02:35 +0900 |
| commit | d8da7b5db06e28e55b52a3b46e920ea3be64f120 (patch) | |
| tree | 8a1772f2b4d5c9c35146e7a8f19341e7fa0a7798 /composer.json | |
| parent | 25ad2004c1d786a1dbe42d24c08f228c870210a4 (diff) | |
| download | php-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.tar.gz php-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.tar.zst php-waddiwasi-d8da7b5db06e28e55b52a3b46e920ea3be64f120.zip | |
feat: introduce PHPUnit
Diffstat (limited to 'composer.json')
| -rw-r--r-- | composer.json | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/composer.json b/composer.json index a06b769..fe691f9 100644 --- a/composer.json +++ b/composer.json @@ -10,13 +10,15 @@ ], "autoload": { "psr-4": { - "Nsfisis\\Waddiwasi\\": "src/" + "Nsfisis\\Waddiwasi\\": "src/", + "Nsfisis\\Waddiwasi\\Tests\\": "tests/src/" } }, "require-dev": { "phpstan/phpstan": "^1.10.67", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-strict-rules": "^1.5.5", + "phpunit/phpunit": "^11.1", "reliforp/reli-prof": "0.12.x-dev", "symplify/easy-coding-standard": "^12.1.14" }, @@ -25,12 +27,20 @@ "sort-packages": true }, "scripts": { + "check": [ + "@lint", + "@test" + ], "ecs": "ecs check", "ecsfix": "ecs check --fix", "lint": [ "@ecs", "@phpstan" ], - "phpstan": "phpstan --memory-limit=1G analyse" + "phpstan": "phpstan --memory-limit=1G analyse", + "phpunit": "phpunit", + "test": [ + "@phpunit" + ] } } |
