The parsertests in extensions are registered via a wg setting. I am afraid running phpunit.php against extensions/Foobar is not going to find out the registered parser tests. This need to be investigated and a fix is yet to be found.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=32022