Answer the question
In order to leave comments, you need to log in
How to test bundles in Symfony 4?
When creating a module (bundle), there were difficulties in writing a unit test. Project on Symfony 4 WebSocketBundle
When running the tests on the main application, there were no problems, but when running the tests separately from the main application, they got an error about the need to set KERNEL_CLASS.
What's the best way to test?
from options:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question