RailsConf Europe 2006: JavaScript debug and test
(slides)
Thomas is the author of script.aculo.us so he knows a little bit about JavaScript.
Script.aculo.us has a unit testing framework plugin for Rails (javascript_test plugin.) Outputs nice views. All the usual assertions and some simple benchmarking. Comes with a generator to get you up and running fast. Running multiple tests is done via rake and with multiple browsers, nice. No code coverage metrics. RJS not supported either.
He recommends good old FireBug for JS debugging. Hurrah. Venkman is still useful though thanks to its profiling feature he mentions. Webkit and Drosera for Safari and Microsoft Script Debugger for Internet Explorer.
A very boring speaker but he knows his stuff.
At the evening Q&A session now. You know we are amongst geeks when an evening session is fully attended. See you all in the morning.
September 15th, 2006 at 7:05 am
If you don’t mind, I will add your notes to my
RailsConf overview page at CopenhagenRB:
http://copenhagenrb.dk/2006/9/14/railsconf-europe-session-overviews
Please let me know if you’re taking notes from friday as well.
September 15th, 2006 at 8:56 am
Go ahead Jesper, glad you can make use of it. And I’ll be taking as many notes as I can on Friday.
September 16th, 2006 at 1:28 am
[…] Adventures in JavaScript Testing by Thomas Fuchs […]