Test your Javascript! v1.1
Upcoming SlideShare
Loading in...5
×
 

Test your Javascript! v1.1

on

  • 10,458 views

Introduction to unit/functional testing and continuous integration with JavaScript

Introduction to unit/functional testing and continuous integration with JavaScript

Statistics

Views

Total Views
10,458
Views on SlideShare
9,297
Embed Views
1,161

Actions

Likes
13
Downloads
87
Comments
1

9 Embeds 1,161

http://mobicon.tistory.com 1145
http://a0.twimg.com 3
https://si0.twimg.com 3
http://www.linkedin.com 3
https://twitter.com 3
http://paper.li 1
http://twitter.com 1
http://172.25.1.151 1
http://es.twitter.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Test your Javascript! v1.1 Test your Javascript! v1.1 Presentation Transcript

    • Testing JavaScript © 2013 Eric Wendelin @eriwen
    • Eric Wendelin Blog: eriwen.com Twitter: @eriwen Code: git.io/eric
    • Today, we’ll talk about • What makes JS testing hard • A few ways we can make our JS more testable • Some tools that make testing easier
    • Why is testing your JavaScript important?
    • The community is behind in testing
    • Why is JavaScript so hard to test?
    • Un-testable JS is most of the problem
    • Don’t do this! Do this!
    • Use with caution! Better!
    • Don’t do this! Do this!
    • Don’t do this! Do this!
    • Don’t do this! Do this!
    • Writing Tests
    • 1 unit test framework + 1 functional test framework = Infinite Pocket Bacon
    • Logic / Computation unit test
    • Computation Example
    • User Interaction functional test
    • Interaction Example
    • sinon.js sinonjs.org
    • sinon.js goodies • Jasmine Adapter • QUnit Adapter • Mocha Adapter • Buster.js Adapter • Chai-specific matchers • Jasmine matchers • ... much more
    • ember-testing /ember.js/packages/ember-testing
    • Karma karma-runner.github.io
    • {F*** IT! WE’LL DO IT LIVE!}
    • culture of testing
    • Code at: git.io/eric Blog: eriwen.com Twitter: @eriwen