Talk: Dead simple JavaScript Unit Tests in Rails with Blue Ridge and Screw.Unit, Dr Nic

Send to friend

Details

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.

This topic will be presented by Dr Nic Williams (click for more details on Dr Nic and all our speakers). See also, a really interesting chat with Dr Nic.