guard-phpunit icon indicating copy to clipboard operation
guard-phpunit copied to clipboard

Provide an option to specify command with

Open jamescarr opened this issue 12 years ago • 20 comments

Since phpunit started publishing packages over composer I've switched to using this method of running phpunit rather than installing globally via pear.

This change defaults to the globally installed phpunit but allows the user to specify an alternative command to run.

jamescarr avatar Nov 02 '12 14:11 jamescarr

+100 Nice feature! I like it and I need :)

isidromerayo avatar Nov 06 '12 17:11 isidromerayo

Don't merge the PR just yet... I discovered the custom reporter guard uses is incompatible between versions. I have a fix coming soon.

jamescarr avatar Nov 06 '12 18:11 jamescarr

Great work! I wait for that functionality to add to my project https://github.com/isidromerayo/simple_php_skeleton Thanks

isidromerayo avatar Nov 06 '12 19:11 isidromerayo

@Maher4Ever @jamescarr Awesome! Really looking forward to seeing this in guard-phpunit.

MPV avatar Nov 19 '12 20:11 MPV

:+1:

brianium avatar Dec 06 '12 21:12 brianium

:+1:

liuggio avatar Jan 03 '13 16:01 liuggio

:+1:

MPV avatar Jan 23 '13 19:01 MPV

cool!

matteosister avatar Feb 15 '13 09:02 matteosister

Hope this gets merged soon! Since I have to run an old version of phpunit (3.5 does not have all the command line options guard-phpunit uses by default) I haven't been able to use guard-phpunit. With this change I should be able to!

bignall avatar Feb 15 '13 18:02 bignall

@Maher4Ever could you please merge this?

matteosister avatar Feb 26 '13 19:02 matteosister

@jamescarr Is there anything you want to change in this pull request? Or can it be merged in it's current state?

@Maher4Ever Could you merge this? There seems to be a lot of interest in this fix.

MPV avatar Mar 26 '13 13:03 MPV

I think we should use another Repository for Guard-phpunit.

liuggio avatar Mar 26 '13 13:03 liuggio

I agree

matteosister avatar Mar 26 '13 17:03 matteosister

@MPV The problem I ran into is that the reporter that guard-phpunit uses is incompatible with later phpunit releases. Otherwise it seemed to work fine.

jamescarr avatar Mar 26 '13 19:03 jamescarr

+1 I uses composer as well (as everyone really should at this point). This is needed, as phpunit is no longer in the system path.

svperfecta avatar Apr 16 '13 16:04 svperfecta

I need this as well.

windwardrail avatar Jul 25 '13 19:07 windwardrail

Is there any fork that became an official fork of guard-phpunit ? This one does not seem maintained anymore.

marekkalnik avatar Aug 30 '13 11:08 marekkalnik

+1, please merge :-)

adri avatar Oct 10 '13 12:10 adri

@adri - there is a fork that I made, that supports this. It's not released yet as the automatic tests do not pass, but it seems to be working ok. Check : https://github.com/marekkalnik/guard-phpunit2 if you're interested

marekkalnik avatar Oct 10 '13 13:10 marekkalnik

+1

harai avatar Dec 06 '13 01:12 harai