Skip to content

Commit

Permalink
Tests: replace phpunit to nette/tester
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Jul 27, 2023
1 parent 22a403a commit 72ddf6c
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 1,788 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ phpstan:

.PHONY: tests
tests:
vendor/bin/phpunit -c phpunit.xml --stderr
vendor/bin/tester -s -p php --colors 1 -C tests

.PHONY: coverage
coverage:
vendor/bin/phpunit -c phpunit.xml --coverage-clover coverage.xml
vendor/bin/tester -s -p phpdbg --colors 1 -C --coverage ./coverage.xml --coverage-src ./app tests

.PHONY: dev
dev:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"require-dev": {
"contributte/qa": "^0.3",
"contributte/dev": "^0.4",
"contributte/phpunit": "^0.1",
"contributte/tester": "^0.3",
"contributte/phpstan": "^0.1"
},
"autoload": {
Expand Down
Loading

0 comments on commit 72ddf6c

Please sign in to comment.