Web Development  >>  Javascript

Javascript Testing

Language: English Quality: Average Has Audio: true Source: SkillMatter Media: Flash Posted On: 04 Feb 09
In this talk, Chris O'Sullivan introduces the issues he saw with his Rails development, Javascript, and how there is very limited testing. Chris introduces the changes that need to made before beginning Javascript testing (mainly that you don't view javascript as a necessary evil) and how you set up a Rails application for javascript tests.

Chris then gives a live demonstration of how to use NewJS to test a very basic application. The process looks extremely simple and straightforward for unit testing a javascript function. Chris also demos how NewJS can be used with a javascript function that works on data within the web page.

Overall it seems like Chris is introducing a very useful idea that all Ruby developers who use javacript within their projects should take into consideration. It will certainly produce more reliable, unit tested code before reaching the integration testing phase

Tags: SkillMatter, screencast, javascript, testing, ruby, rails, developer, unit testing,     [SUGGEST  A  TAG]

Created : 2008-12-02      Resolution : 420x339   Format : Flash