Hi-

I'm using a pure groovy setup as described here:
http://mguillem.wordpress.com/2009/04/30/webtest-with-groovy-maven-and-eclipse/

This worked very well for two or three tests, but if I run several tests I
eventually get an OutOfMemeory Exception.

here is a sample test:

import com.canoo.webtest.WebtestCase;

class MyTest extends WebtestCase {
    void testDemo1() {
        webtest("My Test") {
            invoke 'http://www.spiegel.de/'
            verifyText text: 'Spiegel'
        }
    }
    void testDemo2() {
        webtest("My Test") {
            invoke 'http://www.spiegel.de/'
            verifyText text: 'Spiegel'
        }
    }
   // etc. after around 18 testDemoX() tests OutOfMemory is thrown.
}

Is anybody else experiencing similar errors? Or is the it just the test
that is wrong? Or is the pure Groovy testing approach no longer supported?
Documentation on it is really sparse, at is seems...

Thanks for any help,

-markus
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to