[ 
https://issues.apache.org/jira/browse/BUILDR-670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13676705#comment-13676705
 ] 

Alex Boisvert commented on BUILDR-670:
--------------------------------------

Hi Félix!

I've prototyped this but ... ran into an issue with underlying Rake model ...  
unfortunately it's not possible to use "buildr projecta:projectb:test:filter" 
since defining a rake 'rule' based on '...:test:...' leads to recursive 
behavior with other tasks such as project:test:setup and such.

Sorry!

I would advise using a shell script named 'test-only' to achieve the same, e.g.

#!/bin/bash
cd $1; buildr test=only test:$2

then you can write,

% test-only project filter

Unless you have a better idea for how it could be integrated into buildr 
default's command-line processing ...
                
> Use test filtering like "buildr projecta:projectb:test:filter"
> --------------------------------------------------------------
>
>                 Key: BUILDR-670
>                 URL: https://issues.apache.org/jira/browse/BUILDR-670
>             Project: Buildr
>          Issue Type: New Feature
>            Reporter: Félix Enrique Llorente Pastora
>            Priority: Minor
>
> Current implementation test filtering:
> > cd projcta/projectb
> > buildr test:filter
> Suggested functionality:
> buildr projecta:projectb:test:filter

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to