Skip to content

Commit acee9dd

Browse files
committed
Created composer script to run individual unit test for each library
1 parent fb6cf76 commit acee9dd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

composer.json

+9
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,14 @@
2424
"phpunit/phpunit": "^10",
2525
"swaggest/json-diff": "^3.11",
2626
"remorhaz/php-json-patch": "^0.6.1"
27+
},
28+
"scripts": {
29+
"blancks/fast-jsonpatch-php": "phpunit --no-configuration --test-suffix Blancks_fast_jsonpatchTest.php .\\tests",
30+
"remorhaz/php-json-patch": "phpunit --no-configuration --test-suffix Remorhaz_php_json_patchTest.php .\\tests",
31+
"mikemccabe/json-patch-php": "phpunit --no-configuration --test-suffix Mikemccabe_json_patch_phpTest.php .\\tests",
32+
"php-jsonpatch/php-jsonpatch": "phpunit --no-configuration --test-suffix Php_jsonpatch_php_jsonpatchTest.php .\\tests",
33+
"xp-forge/json-patch": "phpunit --no-configuration --test-suffix Xp_forge_json_patchTest.php .\\tests",
34+
"gamringer/php-json-patch": "phpunit --no-configuration --test-suffix Gamringer_php_json_patchTest.php .\\tests",
35+
"swaggest/json-diff": "phpunit --no-configuration --test-suffix Swaggest_json_diffTest.php .\\tests"
2736
}
2837
}

0 commit comments

Comments
 (0)