Search the web
Sign In
New User? Sign Up
TestFirstUserInterfaces
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Re: [TDD] TDD wih GWT   Message List  
Reply | Forward Message #991 of 1052 |
Josue Barbosa dos Santos wrote:

> Anyone knows if there is something similar to the GWT (Google Web Toolkit)
> development? Is anyone here doing TDD with GWT?

I TDD Ajax using Ruby on Rails using these techniques:

http://www.oreilly.com/catalog/9780596510657/

The goal is all unit tests work with the "mock the server" technique.
No real web server or web browser at test time. Rails makes that
super-easy, and everyone should learn from its system.

After you can mock a server, and return its pages as strings, you
write pages with pure XHTML, and use assert_xpath to query out the
target items. Then you use assert_js to parse the JavaScript hooks
inside them, and that enables TDD for the browser side of the Ajax
calls.

All these techniques should port easily to other platforms. You should
get with the GWT mailing list, and share anything you learn that's
specific to GWT.

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!



Mon Jun 18, 2007 4:24 pm

phlipcpp
Offline Offline
Send Email Send Email

Forward
Message #991 of 1052 |
Expand Messages Author Sort by Date

... I TDD Ajax using Ruby on Rails using these techniques: http://www.oreilly.com/catalog/9780596510657/ The goal is all unit tests work with the "mock the...
Phlip
phlipcpp
Offline Send Email
Jun 18, 2007
4:26 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help