easyb

Maven easyb plugin java heap space settings?

Hi, I attempted to change my heap size for maven easyb plugin http://www.easyb.org/maven-easyb-plugin/. In my easyb test I added standard code to print the heap size using the code Runtime.getFreeMemory() and Runtime.getTotalMemory(). I tried setting the MAVEN_OPTS=-Xmx1024m -Xms1024m and also set the maven opts in Maven surefire ...

Grails-Write Selenium code inside a EasyB scenario.

I am trying to write some selenium inside my scenario's. However, when I try to start Selenium using the following code: before "start selenium", { given "selenium is up and running", { selenium = new DefaultSelenium("localhost", 4444, "*firefox", "http://www.google.com.my/") selenium.start() } I get an error: Error running easyb t...

How can I clear the database (domains) between easyb scenarios in Grails Integration Testing?

I am running an Integration Test for a Grails application. I am using the easyb plugin. The problem is that the database doesn't seem to get cleared out between Scenarios. My When I run standard Grails Integration Tests, the persistence context is cleared between each test. The easyb Stories are in the Integration folder, but the Gr...

What is the difference between an easyb story and specification?

I've been trying out the easyb BDD framework for about a day and a half and I'm not sure I understand the difference between a story and a specification(besides the syntax). A story uses the given, when, then syntax and a scenario uses the description, it, it... syntax. Besides the syntax is there a difference between the two? Is u...

Using EasyB in Grails

Hi there folks, It's probably going to be one of the lame and novice level questions but I'm struggling with it for some time and it's still not working. I have a HomeController: package example class HomeController { def index = { [ message: "Hello, world!" ] } } Now I've installed easyb plugin: grails install-p...

Grails + Selenium + EasyB +spring-security-core: ifAnyGranted Isn't Working

Grails 1.3.5 and have selenium-rc, easyb, and spring-security-core plugins installed. Everything seems to work really well except this one case I've run into. I have a page I am testing which has the following markup: <sec:ifAnyGranted roles='ROLE_ADMIN'> <span class="menuButton"> <g:link mapping="adminPage"> <g:mess...