I _thought_ someone was working on getting it to just work. For now, though, if you start with a clean machine you can run the commands here: https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Installing_PHPUnit#Using_PEAR to get it installed. Make sure the use the pear commands because it'll get you phpunit 3.7.X. phpunit 4.0 doesn't work for us mediawiki. Anyway, after following the pear commands inside your vagrant VM phpunit should work.
Nik On Fri, Jun 13, 2014 at 1:44 PM, Jon Robson <jdlrob...@gmail.com> wrote: > Has anyone had success with this...? > > This is what happens when I try to run: > > master x ~/git/vagrant/mediawiki/tests/phpunit $ php phpunit.php > > Warning: require_once(/vagrant/LocalSettings.php): failed to open > stream: No such file or directory in > /Users/jrobson/git/vagrant/mediawiki/LocalSettings.php on line 130 > > Fatal error: require_once(): Failed opening required > '/vagrant/LocalSettings.php' (include_path='.:') in > /Users/jrobson/git/vagrant/mediawiki/LocalSettings.php on line 130 > > _______________________________________________ > Wikitech-l mailing list > Wikitech-l@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l