I know that there were a bug with in phpStorm 2017.1 version. However I'm using the latest stable version of phpStorm. I installed PHPUnit via composer and I don't use docker or VM.
I attache the two screenshots with error message and my project tree structure regards PHPUnit files.
When I use phar version I have no problem with running tests.