John, thanks for the comprehensive explanation!

Exactly the pointers I needed.


Cheers,

Bart Guijt
E: [email protected]
T: +31 6 30408987

On 7 nov 2009, at 7 nov, 02:01, John LaBanca wrote:

> If you want to run a remote web test from the command line or from  
> eclipse, use the following args:
> -web -runStyle RemoteWeb:rmi://myhost/ie8
>
> -web compiles the project and runs it in web mode.  If you exclude  
> this option, it runs in development mode and the target browser  
> needs to have the Development Mode plugin install.  You should see  
> instructions when you run the test.
>
> -runStyle says to use a specific run style, instead of the default  
> HtmlUnit
>
> RemoteWeb is the run style to use.  You must have a  
> BrowserManagerServer installed on the target system.
>
> :rmi://myhost/ie8 is the host and browser to use.  If  
> BrowserManagerServer is running on myhost, it will open ie8 and run  
> the test
>
>
> In the ant scripts that ship with GWT, we use the following  
> parameters:
> gwt.hosts.dev.remote="rmi://myhost/ie8"
>
> If you want to run a specific test in development mode using a  
> remote browser, use the following:
> cd trunk/user/
> ant test.dev.remote -Dgwt.hosts.dev.remote="rmi://myhost/ie8" - 
> Dgwt.junit.testcase.includes="**/MyTest.class"
>
> And for web mode tests:
> ant test.web.remote -Dgwt.hosts.web.remote="rmi://myhost/ie8" - 
> Dgwt.junit.testcase.includes="**/MyTest.class"
>
>
> Thanks,
> John LaBanca
> [email protected]
>
>
> On Fri, Nov 6, 2009 at 5:53 PM, Bart Guijt <[email protected]> wrote:
>
> Gents,
>
> I'd like to test my HTML5 Database wrapper lib, which I can only do in
> a Real Browser.
>
> I'd like to do so automatically from the commandline (or from Hudson
> for that matter). I noticed some Ant targets invoking tests using "-
> runStyle:RemoteWeb" options.
>
> This seems like something I need, however, I can't find any pointers
> how to invoke the tests myself. It seems I need to provide a value for
> property "gwt.hosts.dev.remote", and perhaps I need to prepare other
> stuff as well :-)
>
> If someone could give me some pointers I would be most delighted!
>
> Thanks,
>
> Bart Guijt
> E: [email protected]
> T: +31 6 30408987
>
>
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to