On Tue, Aug 9, 2011 at 11:58 AM, Mark <[email protected]> wrote:
> I attached the patch to:
> https://issues.apache.org/jira/browse/TAP5-1599
> Just in case anyone wants to try it out.
> Howard said that he saw a significant slowdown, but that didn't happen in my
> tests on LInux.  Perhaps it is slower on OS X or Windows.

Well, I evaluated your patch and running time seems to be on the same
ball park on Windows (7). Tests finished in 6:24 on my laptop, I'm
getting 4 failures though (the treetest and a few other ajax tests).
Makes sense to me to upgrade to Selenium 2.

Kalle

>
>
>> HtmlUnit-based functional tests simplify the testing environment and
>> running them within the IDE, and also because they run much faster
>> than the Selenium (1) tests. Using the WebDriver could improve
>> execution speed and Selenium 2 also allows using HtmlUnit as the
>> WebDriver (although it's somewhat questionable what the extra
>> abstraction layers buy you in that case). It would be an interesting
>> exercise to rewrite some tests to use the WebDriver and compare
>> execution times of different drivers, namely against HtmlUnit.
>>
>>
> I think there should be a way to specify what WebDriver you want to use from
> testng.xml or something.  If that is the case, it might be possible to test
> the bulk of the tests in HtmlUnit while running the tests that are looking
> for finer points of the GUI or JS implementations in several other browsers.
>
> I'm hoping there will be enough interest to either get this update included
> or at least see if we can recreate and identify what slow down issues Howard
> was running into.
>
> Mark
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to