If someone is running PHPUnit in a docker container and wonders why they can't filter by namespaces....
I finally managed it with
phpunit --filter 'My\\\\\\\Namespace'
Why 7? I have no idea! As long as it works! BTW: The quotes are important! Without them it'll be - - you guessed it correctly - 14 backslashes... 🙈