I've recently stumbled across geb and it looks like a good way to perform integration tests on our web applications. Our platforms are all java based and from reading that
"Geb provides first class support for functional web testing via integration with popular testing frameworks such as ...JUnit, TestNG..."
i assumed it would be easy to execute a test from a java class (testng test?).
I'm new to groovy and geb.
So far I have included geb-testng and groovy in my pom:
<dependency>
<groupId>org.codehaus.geb</groupId>
<artifactId>geb-testng</artifactId>
<version>0.7.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy</artifactId>
<version>1.8.6</version>
</dependency>
... However i can't find any examples of creating a test and running it from a java class.
help appreciated.