Code for Begginners

domingo, 9 de diciembre de 2007

Testing Ruby


Testing Ruby on Rails (spanish)


From: garnierjm, 1 year ago





Talk given at the RailsConf Hispana (http://www.conferenciarails.org/)


SlideShare Link

jueves, 6 de diciembre de 2007

Web Automation with Selenium Part III


Full-stack webapp testing with Selenium and Rails


From: alexchaffee, 7 months ago





Want to test your entire Web 2.0 app, from AJAX and DHTML through browser-rendered HTML into a live instance of your application and database? Most web testing frameworks have gaps in their coverage: JUnit and Test::Unit miss the client frontend; JSUnit misses the server backend; web testing frameworks miss some or all of the JavaScript. With Selenium we have a framework that can test the whole application, from browser-executed JavaScript, through a live application backend, then back to assertions on browser-rendered DOM code. Selenium RC takes this further: since you write your tests in your application language, your tests can do data setup and assertions based directly on server-side domain objects that may be inaccessible or only partially accessible from the client side. On our teams we have used and developed a series of helper methods and assertions that allow testing of AJAX and DHTML functions as well.

In this tutorial we outline the architecture of Selenium RC and walk through code and examples illustrating how to do full-stack testing against a Ruby on Rails application.



SlideShare Link

Web automation with Selenium Part I


From: vivek_prahlad, 8 months ago





This presentation covers an introduction to Selenium, the Open Source, cross browser, cross platform functional testing tool. The talk emphasized the importance of applying the same principles to testing (abstraction, refactoring, DRY) that development teams apply to developing software. (This presentation was used for a talk at the Asian Testing Conference)


SlideShare Link

Etiquetas

Powered By Blogger