I've tried to uninstall webtest and install it again and I still get the 
same result.  A stack trace which I've included below.

the report says no tests were executed.

Here's the stack trace.  Can someone help me with this?

C:\Documents and 
Settings\xxxxxxx\Documents\workspace-sts-new\collab-todo>grails
 test-app -functional --stacktrace
| C:\Documents and 
Settings\xxxxxxx\Documents\workspace-sts-new\collab-todo\test
| Testing collab-todo deployed as collab-todo.
| Tests FAILED  - view reports in C:\Documents and 
Settings\xxxxxxx\Documents\wo
rkspace-sts-new\collab-todo\target\test-reports
| Error Error executing script TestApp: No such property: 
runningFunctionalTests
Inline for class: _GrailsTest_groovy (NOTE: Stack trace has been filtered. 
Use -
-verbose to see entire trace.)
groovy.lang.MissingPropertyException: No such property: 
runningFunctionalTestsIn
line for class: _GrailsTest_groovy
        at 
_GrailsTest_groovy$_run_closure12.doCall(_GrailsTest_groovy:413)
        at _GrailsTest_groovy$_run_closure12.doCall(_GrailsTest_groovy)
        at 
_GrailsTest_groovy$_run_closure1_closure21.doCall(_GrailsTest_groovy:
199)
        at _GrailsTest_groovy$_run_closure1.doCall(_GrailsTest_groovy:184)
        at 
org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16_closure18.doCall(GantBinding.groovy:185)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16_closure18.doCall(GantBinding.groovy)
        at 
org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
        at 
org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groo
vy)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16.doCall(GantBinding.groovy:185)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16.doCall(GantBinding.groovy)
        at 
org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
        at TestApp$_run_closure1.doCall(TestApp:82)
        at 
org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16_closure18.doCall(GantBinding.groovy:185)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16_closure18.doCall(GantBinding.groovy)
        at 
org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
        at 
org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groo
vy)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16.doCall(GantBinding.groovy:185)
        at 
org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure
16.doCall(GantBinding.groovy)
        at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
        at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
        at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
        at gant.Gant.withBuildListeners(Gant.groovy:427)
        at gant.Gant.this$2$withBuildListeners(Gant.groovy)
        at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
        at gant.Gant.dispatch(Gant.groovy:415)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.executeTargets(Gant.groovy:591)
        at gant.Gant.executeTargets(Gant.groovy:590)
| Error Error executing script TestApp: No such property: 
runningFunctionalTests
Inline for class: _GrailsTest_groovy

Jim Schwartz
Database Specialist
BCAG Data Solutions Team
Health Care Services Corporation
300 E. Randolph 8.121B
office 312-653-8777
cell 847-648-1320
[email protected]




From:   "Habbert, Michael (Key-Work)" <[email protected]>
To:     "[email protected]" <[email protected]>
Date:   02/11/2014 09:49 AM
Subject:        AW: [Webtest] Groovy on Grails using Webtest
Sent by:        [email protected]



Hi Jim,
 
we do/did use canoo webtests via Grails.
 
The standard directory fort he tests is: 
 
test\webtest
 
we executed your webtests:
 
test-app ?functional 
 
Cheers
 
Michael Habbert
 
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von [email protected]
Gesendet: Dienstag, 11. Februar 2014 16:02
An: [email protected]
Betreff: [Webtest] Groovy on Grails using Webtest
 
I've tried running the webtest using Groovy on Grails with the plugin 
installed, but it seems to keep saying no tests were executed.  I run the 
test using the following command: 

grails test-app functional:webtest 

I run that in my project directory and the following is output: 

| C:\Documents and 
Settings\xxxxxxx\Documents\workspace-sts-new\collab-todo\test 
| Testing collab-todo deployed as collab-todo. 
| Tests FAILED  - view reports in C:\Documents and 
Settings\xxxxxxx\Documents\wo 
rkspace-sts-new\collab-todo\target\test-reports 
| Error Error executing script TestApp: No such property: 
runningFunctionalTests 
Inline for class: _GrailsTest_groovy (Use --stacktrace to see the full 
trace) 

Does anyone know which directory I should put my webtest in?  Is there 
documentation somewhere on how to use webtest? 

Jim Schwartz
Database Specialist
BCAG Data Solutions Team
Health Care Services Corporation
300 E. Randolph 8.121B
office 312-653-8777
cell 847-648-1320
[email protected] 
HCSC Company Disclaimer
The information contained in this communication is confidential, private,
proprietary, or otherwise privileged and is intended only for the use of
the addressee.  Unauthorized use, disclosure, distribution or copying is
strictly prohibited and may be unlawful.  If you have received this
communication in error, please notify the sender immediately at
(312) 653-6000 in Illinois; (800) 437-5000 in Montana;
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma;
or (972)766-6900 in Texas.
 
 
Michael Habbert 
Key-Work Consulting GmbH | Kriegsstr. 100 | 76133 Karlsruhe | Germany | 
www.key-work.de
Fon: +49-721-78203-269 | E-Mail: [email protected] | Fax: 
+49-721-78203-10 
 
Key-Work Consulting GmbH, Karlsruhe, HRB 108695, HRG Mannheim
Geschäftsführer: Andreas Stappert, Tobin Wotring 

Reply via email to