https://bugzilla.wikimedia.org/show_bug.cgi?id=58881

       Web browser: ---
            Bug ID: 58881
           Summary: Can't use phpunit.phar to invoke MediaWiki tests
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Unit tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

PHPUnit's manual recommends the PHPUnit phar as the easiest way to obtain
PHPUnit and its dependencies. Unfortunately, when PHPUnit is loaded via a phar
file, there appears to be no way to use it to run MediaWiki's test suites. If
you try to execute the tests by invoking the phar file, MediaWiki's environment
is not set up. If you attempt to use MediaWiki's own tests/phpunit/phpunit.php,
you find that there is no way to get MediaWiki to resolve its includes /
requires using the phar file: --with-phpunitdir could presumably add the phar
file to include_path (which is supported by PHP, AFAIK), but it currently
chokes on anything that isn't an actual directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to