Quantcast

test-app tries to run functional test when there are none

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

test-app tries to run functional test when there are none

basejump (Josh)
not exactly sure what we upgraded on this but we have a number of grails 1.3.7 projects/plugins that test-app now trys to run functional tests even though we don't have any.
Is there something I need to exclude to stop this from happening? I know we can append unit: or integration: .
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: test-app tries to run functional test when there are none

ld@ldaley.com

On 05/06/2012, at 4:45 PM, Josh (basejump) wrote:

> not exactly sure what we upgraded on this but we have a number of grails 1.3.7 projects/plugins that test-app now trys to run functional tests even though we don't have any.
> Is there something I need to exclude to stop this from happening? I know we can append unit: or integration: .

Delete the test/functional directory.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: test-app tries to run functional test when there are none

basejump (Josh)
there is definitely no test/functional directory. Thats the first thing we looked for a couple weeks ago.
It seems to be happening when I include a plugin that has test depenencies with geb/spock.
https://github.com/grails-plugins/grails-freemarker/blob/master/grails-app/conf/BuildConfig.groovy
It does not appear the the export=false is being picked up.
If I add
compile(':freemarker:1.0.0-SNAPSHOT'){
        excludes 'geb','spock
}
then it does not try and run the functional tests. as soon as I include them back in it always tries.

Its not a big deal, we are just using appending integration: or doing the exclude above for those plugins that don't have functional tests.


On Jun 11, 2012, at 7:19 AM, [hidden email] wrote:

>
> On 05/06/2012, at 4:45 PM, Josh (basejump) wrote:
>
>> not exactly sure what we upgraded on this but we have a number of grails 1.3.7 projects/plugins that test-app now trys to run functional tests even though we don't have any.
>> Is there something I need to exclude to stop this from happening? I know we can append unit: or integration: .
>
> Delete the test/functional directory.
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: test-app tries to run functional test when there are none

ld@ldaley.com

On 11/06/2012, at 9:25 PM, Josh (basejump) wrote:

> there is definitely no test/functional directory. Thats the first thing we looked for a couple weeks ago.
> It seems to be happening when I include a plugin that has test depenencies with geb/spock.
> https://github.com/grails-plugins/grails-freemarker/blob/master/grails-app/conf/BuildConfig.groovy
> It does not appear the the export=false is being picked up.
> If I add
> compile(':freemarker:1.0.0-SNAPSHOT'){
> excludes 'geb','spock
> }
> then it does not try and run the functional tests. as soon as I include them back in it always tries.
>
> Its not a big deal, we are just using appending integration: or doing the exclude above for those plugins that don't have functional tests.

Ah. That plugin should be updated to not export those dependencies.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: test-app tries to run functional test when there are none

basejump (Josh)
Oh crap, I should have looked at my own link closer. I have it set locally to export=false but did not commit.
I'll commit in my changes and redeploy the freemarker plugin and I'm sure that will take care of it.

On Jun 11, 2012, at 3:32 PM, [hidden email] wrote:

>
> On 11/06/2012, at 9:25 PM, Josh (basejump) wrote:
>
>> there is definitely no test/functional directory. Thats the first thing we looked for a couple weeks ago.
>> It seems to be happening when I include a plugin that has test depenencies with geb/spock.
>> https://github.com/grails-plugins/grails-freemarker/blob/master/grails-app/conf/BuildConfig.groovy
>> It does not appear the the export=false is being picked up.
>> If I add
>> compile(':freemarker:1.0.0-SNAPSHOT'){
>> excludes 'geb','spock
>> }
>> then it does not try and run the functional tests. as soon as I include them back in it always tries.
>>
>> Its not a big deal, we are just using appending integration: or doing the exclude above for those plugins that don't have functional tests.
>
> Ah. That plugin should be updated to not export those dependencies.
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Loading...