Dead simple JavaScript Unit Tests in Rails with Blue Ridge and Screw.Unit 4.52 http://spkr8.com/t/1272

Description:

Dead simple JavaScript Unit Tests in Rails with Blue Ridge and Screw.Unit Rails was the first place many of us learnt about unit testing, and then learnt TDD/BDD. Yet everyday Rails developers use JavaScript without writing any unit tests. This is sad.

In the past, perhaps you didn't know how to get started? Didn't know what files were needed? How to write tests? How to emulate user actions?

Not any more. The Rails plugin blue-ridge bundles one of the best JS testing frameworks Screw.Unit, with simple conventions, getting-started generators, and even a headless "rake test:javascripts" task for your continuous integration process.

After this session, you'll never write another line of JavaScript without first writing a test. Or the pagan gods of client-side scripting will slap you.

Comments on this Talk

Toms_head2 Thomas Cowell, 26 Jul 01:05 PM

Great presentation, thanks for making evident the low threshold to JS testing

Have an account? Sign in or register.

Leave a Comment

7 Ratings: 4.52

Delivery: 4.87

Content: 4.17

Last Five Ratings