PHPunit can't find tests
phpunit, unit-testing
Solution
I think I figured it out. When just using PHPunit trough the commandline, everything just works fine. I guess there is some problem in Netbeans. I need to specify a test folder there, so I guess I will just choose the src folder? Thanks to all the people trying to help me.
Problem
PHPunit isn't able to find my tests, but it does find my XML configuration. This is the config: ``` <?xml version="1.0" encoding="UTF-8"?> <phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" syntaxCheck="false" > <testsuites> <testsuite name="Symply Test Suite"> <directory>src/Symply/EventManager/Tests</directory> </testsuite> </testsuites> </phpunit> ``` And this is the directory structure: PHPunit just says, when running the script, "No tests executed". I don't know why this doesn't work, since I specified the directory in the XML directory tags.