Re: [Wikitech-l] PHPUnit versioning

2014-01-15 Thread Antoine Musso
Le 14/01/14 17:56, Chad a écrit : Something like: `php phpunit.php --phar=/foo/bar/phpunit.phar` Or --with-phpunitdir , though currently the argument passed to it is enforced to be a directory but I am pretty sure one can include a .phar. -- Antoine hashar Musso

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Chad
On Tue, Jan 14, 2014 at 7:58 AM, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: The problem here is that Ubuntu's upcoming 14.04 Trusty Tahr, as well as Debian unstable (sid), currently contain PHPUnit 3.6.10.[3][4] It seems to me that requiring our developers to manually install a

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Tyler Romeo
On Tue, Jan 14, 2014 at 11:07 AM, Chad innocentkil...@gmail.com wrote: What version is available via PEAR? Installing via that is no more manual than apt. Also don't forget composer as well. *-- * *Tyler Romeo* Stevens Institute of Technology, Class of 2016 Major in Computer Science

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Brian Wolff
On Jan 14, 2014 11:58 AM, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: This morning I tried to run some unit tests, and to my surprise it failed with an error that PHPUnit 3.7.0 is now required. This was apparently done in Gerrit change 105920[1] in response to bug 59759.[2] Grepping

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Jeroen De Dauw
Hey, What version is available via PEAR? Installing via that is no more manual than apt. Sebastian recommends that you use the phar, which is a lot easier then PEAR. Instructions on how to use it can be found at: https://github.com/sebastianbergmann/phpunit#installation This morning I tried

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Chad
On Tue, Jan 14, 2014 at 8:21 AM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, What version is available via PEAR? Installing via that is no more manual than apt. Sebastian recommends that you use the phar, which is a lot easier then PEAR. Instructions on how to use it can be found

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Jeroen De Dauw
Hey, can you use a phar file for loading a library and not just executing a script? Yeah, you can include the phar (with a PHP include statement). Can we use the phar in core? Sure. One reason I've seen brought forward to bundle such a phar with a project is that then everyone runs the same

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Tim Landscheidt
Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: [...] The problem here is that Ubuntu's upcoming 14.04 Trusty Tahr, as well as Debian unstable (sid), currently contain PHPUnit 3.6.10.[3][4] It seems to me that requiring our developers to manually install a different version of phpunit is

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Chad
On Tue, Jan 14, 2014 at 8:39 AM, Jeroen De Dauw jeroended...@gmail.comwrote: Hey, can you use a phar file for loading a library and not just executing a script? Yeah, you can include the phar (with a PHP include statement). Can we use the phar in core? Sure. One reason I've seen

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Brad Jorsch (Anomie)
On Tue, Jan 14, 2014 at 11:07 AM, Chad innocentkil...@gmail.com wrote: What version is available via PEAR? Installing via that is no more manual than apt. Err, yes it is. With apt it gets upgraded whenever I upgrade anything else, while pear is in its own little world with its own

Re: [Wikitech-l] PHPUnit versioning

2014-01-14 Thread Chad
On Tue, Jan 14, 2014 at 9:31 AM, Brad Jorsch (Anomie) bjor...@wikimedia.org wrote: On Tue, Jan 14, 2014 at 11:07 AM, Chad innocentkil...@gmail.com wrote: What version is available via PEAR? Installing via that is no more manual than apt. Err, yes it is. With apt it gets upgraded