On your 2nd screenshot (PHPUnit settings):
- Why did you choose PHAR option if you are using COMPOSER?
- Why did you point to
.../bin/phpunit
(even if you choose 3rd option .. you should point it to a PHAR file then)?
Therefore:
- For composer installations you should use 2nd ("Use custom loader") option.
- The edit box -- you should point it to your autoloader script (yes -- composer autoloader script).
Related (similar issue): https://stackoverflow.com/a/17316104/783119