|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
ANN: Selenium RC PluginHi all
I've just released the first version of the Selenium RC plugin. The plugin allows you to write Selenium tests in Groovy to functionally test Grails apps using a real browser. The tests run in the functional phase using `grails test-app` or `grails test-app -functional`. I've tested with Linux, OSX and WinXP OSs and Firefox, Safari, IE6 & 7, Opera and Google Chrome browsers and they all work correctly apart from Firefox 3.5 on OSX Snow Leopard (caused by an open bug on Selenium itself). There's more information on browser compatibility on the documentation page. You can also write you Selenium tests using Spock if you like by installing the Spock plugin alongside Selenium RC. Install: `grails install-plugin selenium-rc` Documentation: http://grails.org/plugin/selenium-rc Source Code: http://github.com/robfletcher/grails-selenium-rc JIRA: http://jira.codehaus.org/browse/GRAILSPLUGINS/component/14229 For anyone interested I'll be doing a short talk about testing with the plugin at GGUG in London on 20th Nov. I'm just ironing out some formatting issues on the documentation page so if anything's a little illegible at the moment please bear with me. Cheers, Rob --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: ANN: Selenium RC PluginAwesome work Rob.
Loving the Spock integration. On 06/11/2009, at 6:45 AM, Robert Fletcher wrote: > Hi all > > I've just released the first version of the Selenium RC plugin. The > plugin allows you to write Selenium tests in Groovy to functionally > test Grails apps using a real browser. The tests run in the functional > phase using `grails test-app` or `grails test-app -functional`. > > I've tested with Linux, OSX and WinXP OSs and Firefox, Safari, IE6 & > 7, Opera and Google Chrome browsers and they all work correctly apart > from Firefox 3.5 on OSX Snow Leopard (caused by an open bug on > Selenium itself). There's more information on browser compatibility on > the documentation page. > > You can also write you Selenium tests using Spock if you like by > installing the Spock plugin alongside Selenium RC. > > Install: `grails install-plugin selenium-rc` > Documentation: http://grails.org/plugin/selenium-rc > Source Code: http://github.com/robfletcher/grails-selenium-rc > JIRA: http://jira.codehaus.org/browse/GRAILSPLUGINS/component/14229 > > For anyone interested I'll be doing a short talk about testing with > the plugin at GGUG in London on 20th Nov. > > I'm just ironing out some formatting issues on the documentation page > so if anything's a little illegible at the moment please bear with me. > > Cheers, > Rob > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: ANN: Selenium RC PluginTo those who have more than 1 type of functional test, and who want the option to run functional tests by type, in our case webtests and selenium-rc you will need to add the following to your Events.groovy project script
eventTestPhasesStart = { switch (GrailsUtil.environment) { case 'webtest': functionalTests.remove('selenium') break case 'selenium': functionalTests.remove('webtest') break } } This is particularly useful when you are still writing the tests, since you might have some same named tests in each type (in our case because we're switching a whole bunch of more JQuery heavy tests to selenium) and it gets very annoying to spend time watching an irrelevant Webtest running when you're trying to finish a selenium test J On Thu, Nov 5, 2009 at 4:45 PM, Luke Daley <ld@...> wrote: Awesome work Rob. -- "We are all agreed that your theory is crazy. The question that divides us is whether it is crazy enough to have a chance of being correct." - Dr. Niels Bohr ### Craft @ http://www.linkedin.com/in/jpimmel ### Vox @ http://act.ualise.com/blogs/continuous-innovation ### Twit @ http://twitter.com/franklywatson |
|
|
Re: ANN: Selenium RC PluginIIRC Luke said he was working one something like that for the Grails core.
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
Re: ANN: Selenium RC PluginThere is currently no way to target test types.
I am not sure how this is going to work, but maybe something like… grails test-app --functional.selenium Hopefully will make it into 1.2 On 08/11/2009, at 12:27 PM, j pimmel wrote: To those who have more than 1 type of functional test, and who want the option to run functional tests by type, in our case webtests and selenium-rc you will need to add the following to your Events.groovy project script |
|
|
Re: ANN: Selenium RC PluginI just released version 0.1.1 of Selenium RC. There are a couple of
bug fixes and the added ability to use (assert|verify|waitFor)Not* when extending GrailsSeleneseTestCase. Cheers, Rob --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |