Hi Steven,

inside the webtest.xml (Ant-Script), located in your webtest-directiory
there's a target called wt.groovyTests:

<target name="wt.groovyTests" description="Runs the WebTests expressed as
Groovy code from the tests folder" unless="wt.groovyTests.skip">
      <property name="wt.groovyTests.dir" location="tests"/>
      <property name="wt.groovyTests.pattern" value="**/*Test.groovy"/>

This is exactly, where you can specify which tests to run.
Currently all files matching *Test.groovy are executed.

BR
Alessandro



                                                                       
             Steven Mak                                                
             <[email protected]>                                         
             Sent by:                                                   To
             webtest-ad...@gat         [email protected]         
             e4.canoo.com                                               cc
             25.04.2009 18:12                                          
                                                                   Subject
                                       [Webtest] Tests in Groovy       
             Please respond to                                         
             [email protected]                                         
                  oo.com                                               
                                                                       
                                                                       
                                                                       




                                                                       
 Dear all,                                                             
                                                                       
 I tried run webtest script to create project: (the webtest.xml obtained
 from the package downloaded)                                          
                                                                       
 webtest.sh -f ./webtest.xml wt.createProject                          
                                                                       
 So it created a new directory for my new project, with sample tests. There
 are 3 XML tests and 2 groovy tests inside.                            
                                                                       
 The allTests.xml contacts the other 3 XML tests (googleWebTest,       
 googleWebTestSteps, and webTestConference). When I run the test, all the
 tests are run.                                                        
                                                                       
 My query is, where do we specify which groovy tests to run?           
 (GoogleWebtestTest and the WebTestConferenceTest) or it run all the groovy
 tests in the "tests" directory?                                       
                                                                       
 Thank you,                                                            
 Steven                                                                
                                                                       




_________________________________________________________________
Diese Information ist ausschliesslich fuer den Adressaten bestimmt und kann
vertraulich oder gesetzlich geschuetzte Informationen enthalten. Wenn Sie
nicht der bestimmungsgemaesse Adressat sind, unterrichten Sie bitte den
Absender und vernichten Sie diese Mail. Anderen als dem
bestimmungsgemaessen Adressaten ist es untersagt, diese E-Mail zu lesen, zu
speichern, weiterzuleiten oder ihren Inhalt auf welche Weise auch immer zu
verwenden. Wir verwenden aktuelle Virenschutzprogramme. Fuer Schaeden, die
dem Empfaenger gleichwohl durch von uns zugesandte mit Viren befallene
E-Mails entstehen, schliessen wir jede Haftung aus.

* * * * *

The information contained in this email is intended only for its addressee
and may contain confidential and/or privileged  information. If the reader
of this email is not the intended recipient, you are hereby notified that
reading, saving, distribution or use of the content of this email in any
way is prohibited. If you have received this email in error, please notify
the sender and delete the email. We use updated antivirus protection
software. We do not accept any responsibility for damages caused anyhow by
viruses transmitted via email.

<<inline: graycol.gif>>

<<inline: pic13998.gif>>

<<inline: ecblank.gif>>

Reply via email to