Closed igneus closed 4 years ago
Can you try running make test
?
See https://github.com/dmaicher/doctrine-test-bundle/blob/master/makefile#L8
Edit: Probably you did not use the correct phpunit config?
This one for phpunit 8+: https://github.com/dmaicher/doctrine-test-bundle/blob/master/tests/phpunit.xml
Thank you very much, I confirm that make test
or vendor/bin/phpunit --config tests/phpunit.xml
both work like a charm.
Hi, I've been trying to make the bundle's test suite work and having some difficulties.
$ composer install
went OK$ vendor/bin/phpunit
complained about a missing fileparameters.yml
, through trial and error I found that it should be placed in theTests/Functional
directory and that there's provided a templateparameters.yml.dist
. I created a MySQL database, set connection details inparameters.yml
and ran the tests again. Now they fail likeInspection of
tests/Functional/FunctionalTest.php
suggests that the test database should probably have just one table namedtest
with one column namedtest
, so I created such a table (with a single column of typeTEXT
), but now the tests fail likeAny idea what the problem is?