On 16/12/2009, at 12:01 AM, Matthieu Bollot wrote:
Le mardi 15 décembre 2009 à 23:28 +1300, Scott Gray a écrit :Hi Erwan,It'll be another couple of days before I can make an informed comment,I'm still very much in the learning phase. One question I do have, does anybody have selenium setup to run in a continuous integration environment?We do have some at nereideIf you have lots of tests, how long to they take to run? Is SeleniumGrid a good solution to shortening the time a test run takes? So maybe a few questions :-)The results here : http://selenium.neogia.org/ofbiz/results/result_2009.12.14_08:12:44.html took 12 minutes for 13 tests and the results here : http://selenium.neogia.org/ofbizNeogia.stable/results/result_2009.12.14_08:12:45.html took about 20 minutes for 41 tests That's a quite fast server. 4 proc, 8GB ram (those are html testSuiteusing selenium-server.jar directly, perhaps using seleniumXML can changethe duration a little bit)
It's these durations that concern me, if OFBiz ends up with hundreds of tests then it will be impractical for a developer to ever run them on their local machine. I think we'll need to come up with a consistent structure for the tests so that they can easily find and run the tests that will cover their task at hand.
And loading a page is may be the only "long" stuff.I guess I'm still sitting here wondering if WebTest isn't a bettersolution simply because it doesn't require a browser (just another anttask) and the tests run faster. I've never used either before so I'm in the dark on these solutions.I think that selenium is quite good because you can _really_ know how long took a test, e.g we could also test how long it takes to purchase 1000 products (don't know if it will be still possible with webtest)
Well your always going to know how long the server took to respond, I think it just cuts out the actual rendering time. Besides this sounds more like performance testing which I don't really think Selenium is the most appropriate tool for.
cheers,Regards Scott HotWax Media http://www.hotwaxmedia.com On 15/12/2009, at 10:07 PM, Erwan de FERRIERES wrote:Hi all, As many of us are now looking into seleniumXML, I would like to discuss a bit more with you of the logging of errors and success in seleniumXml. Has anyone started something ? The changes that have to integrate are major and is would be great to coordinate our efforts. What I'm thinking is adding JUnit asserts at the end of a selenium command, to be able to create JUnit XML files and after creating a report. This will then help us to identify errors on the interface or in functional testcases. Regards, -- Erwan de FERRIERES www.nereide.biz-- Matthieu BOLLOT www.nereide.biz
smime.p7s
Description: S/MIME cryptographic signature