aboutsummaryrefslogtreecommitdiff
path: root/composer.json
diff options
context:
space:
mode:
authorBrett Parson <brett@brett-parson.com>2026-08-29 15:56:31 -0500
committerBrett Parson <brett@brett-parson.com>2026-08-29 15:56:31 -0500
commit965551532d684456b74baf960157c0c2cef7335d (patch)
tree1445afbc47730caa11d08fd84d9d65db132821f5 /composer.json
parentd039a5d62a9ac6ababae70d9d96422ca59f2b2d4 (diff)
downloadminiroute-965551532d684456b74baf960157c0c2cef7335d.tar.gz
miniroute-965551532d684456b74baf960157c0c2cef7335d.zip
Add regression and integration test suite
Port the stress-test findings into PHPUnit: realistic brett-parson.com route model, known-issue baselines, router boundary cases, and a standalone scaling benchmark (composer bench).
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/composer.json b/composer.json
index e9f55d1..dcda42e 100644
--- a/composer.json
+++ b/composer.json
@@ -19,6 +19,12 @@
"require-dev": {
"phpunit/phpunit": "^10.5 || ^11.0"
},
+ "scripts": {
+ "test": "phpunit",
+ "bench": "php tests/bench/bench.php",
+ "lint": "find src tests -name '*.php' -exec php -l {} +",
+ "check": ["@lint", "@test"]
+ },
"config": {
"sort-packages": true
}