JSFoo 2014

JavaScript as the centerpiece of a complex web stack

Prateek Dayal

@pmd

Test Driving Your Javascript Code

Submitted Aug 25, 2014

While Javascript is mainstream in 2014, Javascript testing is not. Many developers have heard of Jasmine, Sinon and other libraries but very few have tried it out. Let’s change this!

This talk will show you how to not just test your javascript code but test drive it. Using Jasmine, Sinon and a few helpers, you can write specs (behavior definitions) easily and use them to write clean and maintainable code. The safety net provided by these specs is an added bonus. Increased development speed is another one.

Outline

Basic knowledge of Javascript and HTTP

Speaker bio

I am the CEO and co-founder of SupportBee. I have been developing single page apps since early 2011 and I have been test driving my Javascript code for as long. My talk on Backbone.js at JSFoo 2011 is Hasgeek TV’s most viewed video on youtube - https://www.youtube.com/channel/UCDHao9FxNRHw1VyLuGXI_rA

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more