Answer the question
In order to leave comments, you need to log in
How to make Symfony2 project tests run in NetBeans?
The essence of the problem is as follows - tests are run through the command line, but only if you explicitly specify the config, that is: phpunit -c acme.com\app\
and NetBeans says "No tests were performed"
here is a screen of phpunit settings
Answer the question
In order to leave comments, you need to log in
1) don't use phpunit globally, install it as a dev dependency via composer. This is at least convenient.
2) check the paths to the configuration file. Something tells me what to write phpunit -c app
. Or your project contains all available domains, which is somewhat strange.
3) for your own convenience, you can move phpunit.xml.dist to the root of the project, for this you will only need to slightly correct the paths in it.
just try to specify the bootstrap file and run the tests, in the output window you can see whether the bootstrap is connected or not. The main purpose is to connect the kernel of the system to run tests.
tests are run via the command line, but only if you explicitly specify the config
cd app/
phpunit
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question