File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 RESET := ""
2727endif
2828
29- # ---
30-
31- RANDOM_SEED := $(shell head -200 /dev/urandom | cksum | cut -f1 -d " ")
3229
3330# ##
3431# HELP
@@ -132,13 +129,13 @@ phpstan: ## QA: <composer phpstan>
132129tests : # # QA: <composer tests>
133130 @$(eval testsuite ?= 'Unit')
134131 @$(eval filter ?= '.')
135- @php -d xdebug.mode=off vendor/bin/phpunit --configuration=phpunit.xml --testdox --colors --order-by=random --random-order-seed= $( RANDOM_SEED ) --testsuite=$(testsuite ) --filter=$(filter )
132+ @composer tests --testsuite=$(testsuite ) --filter=$(filter )
136133 $(call taskDone)
137134
138135.PHONY : tests-unit
139136tests-unit : # # QA: <composer tests-unit>
140137 @$(eval filter ?= '.')
141- @php -d xdebug.mode=off vendor/bin/phpunit --configuration=phpunit.xml --testdox --colors --order-by=random --random-order-seed= $( RANDOM_SEED ) --testsuite=Unit --filter=$(filter )
138+ @composer tests-unit --filter=$(filter )
142139 $(call taskDone)
143140
144141.PHONY : coverage
Original file line number Diff line number Diff line change 4444 "phpcs" : " vendor/bin/phpcs -p --colors --standard=phpcs.xml" ,
4545 "phpcbf" : " vendor/bin/phpcbf -p --colors --standard=phpcs.xml" ,
4646 "phpstan" : " vendor/bin/phpstan analyse --ansi --memory-limit=1G --no-progress --configuration=phpstan.neon" ,
47- "phpunit" : " php -d xdebug.mode=off vendor/bin/phpunit --configuration=phpunit.xml --testdox --colors --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \" )" ,
47+ "phpunit" : " vendor/bin/phpunit --configuration=phpunit.xml --testdox --colors --order-by=random --random-order-seed=$(head -200 /dev/urandom | cksum | cut -f1 -d \" \" )" ,
4848
4949 "tests" : [
5050 " @linter app/ tests/" ,
5454 "tests-unit" : [
5555 " @linter app/ tests/" ,
5656 " @phpcs" ,
57- " @phpunit --testsuite=Unit -- coverage-text"
57+ " @phpunit --coverage-text --testsuite=Unit "
5858 ],
5959
6060 "coverage" : [
You can’t perform that action at this time.
0 commit comments