|
|
London Ruby User Group:Javascript Testing
Javascript Testing
Chris O'Sullivan loves testing, and it's been eating away at him that he can't test the javascript he writes for his rails apps. In this talk he'll be showing off how he finally worked out how to test this stuff and return to the shores of Testingland.
Review:
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.
Review by David Mulholland
Download the slides here
ABOUT THE LONDON RUBY USER GROUP
|
LRUG is the London Ruby User Group; a community of ruby developers based in and around London. We meet up at least once a month; on the 2nd Wednesday of the month we have meetings with talks, demos and such-like and then we have pub-based meetups organised on an ad-hoc basis (roughly half-way between meetings).
More about the London Ruby User Group
|
|
PODCAST JAVASCRIPT TESTING
This session took part at the LRUG Meeting, December. You can view the other 1 podcast here.
|
JAVASCRIPT & HTML5 COURSES
|
JAVASCRIPT & HTML5 PODCASTS
|
OTHER JAVASCRIPT & HTML5 EVENTS
|
Official RNIB Accessibility Hackathon
CONFERENCE (2 DAYS)
London, Saturday, February 11th
BOOK NOW!
|
|
Russel Winder's Python Workshop
4 DAY COURSE. Featuring Russel Winder London, Monday, February 13th
|
|
Coding Kata
FREE EVENT:
In The Brain of Damjan Vujnovic
London, Wednesday, February 15th
|
|
London Ruby User Group
FREE EVENT:
LRUG lightning
London, Tuesday, February 21st
|
|
QCon London 2012
CONFERENCE (3 DAYS)
London, Wednesday, March 7th
BOOK NOW!
|
|
Elevate Events
FREE EVENT:
elevate-launch-event
London, Wednesday, March 7th
|
|
Peter Lubbers' HTML5 Fast Track Course
2 DAY COURSE. Featuring Peter Lubbers New York, Wednesday, March 14th
|
|
Peter Lubbers' HTML5 “Fast Track”
2 DAY COURSE. Featuring Peter Lubbers London, Tuesday, March 20th
|
|
|
|