Skip to content

Commit

Permalink
chore: phpunit não permite execução de múltiplos arquivos via CLI
Browse files Browse the repository at this point in the history
Para a execução de múltiplos deve-se verificar o uso de grupos e testsuits.
  • Loading branch information
caduvieira committed Jan 22, 2024
1 parent c33f2d7 commit 96dd4eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ down: .env

# make teste=TramiteProcessoComDevolucaoTest test-functional
test-functional: .env $(FILE_VENDOR_FUNCIONAL) up
$(CMD_COMPOSE_FUNC) run --rm php-test-functional /tests/vendor/bin/phpunit -c /tests/phpunit.xml $(addprefix /tests/tests/,$(addsuffix .php,$(teste))) ;
$(CMD_COMPOSE_FUNC) run --rm php-test-functional /tests/vendor/bin/phpunit -c /tests/phpunit.xml /tests/tests/$(addsuffix .php,$(teste)) ;


test-functional-parallel: .env $(FILE_VENDOR_FUNCIONAL) up
Expand Down

0 comments on commit 96dd4eb

Please sign in to comment.