Run phpunit tests #6748
-
Is there anyway to run phpunit tests via codeception? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
From my experience I'd say this should work just fine. I already had some occasions where I needed some specific assertions from symfony, similar to the test example at https://symfony.com/doc/current/mailer.html#write-a-functional-test which extends a test class from symfony that itself extends from phpunit and codeception executed the test just as every codeception test without any issues. |
Beta Was this translation helpful? Give feedback.
-
Hey Burned thank you to test it on your side <3 then the only thing different is I am passing maybe there is something wrong from my side, But I couldn't identify yet :/ |
Beta Was this translation helpful? Give feedback.
Is your codeception.yml file located in app directory?
I expect tests path set to
test/tests
, is that right?Then there should be a test suite configuration file at
test/tests/integration.suite.yml
Do you have such file?