JavaScript Unit Testing
You’ve been working with JavaScript for a while, and you want to improve the reliability and design of your code. You’ve heard about testing frameworks, but don’t know where to start. Maybe you're just getting started with JavaScript. In any case, you have questions:
- What frameworks are available?
- How do I write and run tests?
- Can I test outside the browser?
- How much automation is possible?
In this presentation, we’ll cover:
Testable JavaScript
- Design Approach
- Refactoring
Unit Testing Overview
- Why JavaScript Unit Testing?
- How does it work?
- TDD and BDD
Testing Approaches
- Browser-based
- Command Line
Testing Tools and Frameworks
- QUnit
- Jasmine
- Mocha / Chai
JavaScript Development Environment Tools
- Yeoman
- Grunt
- Bower
- Node.js
- JSHint
Attendees will learn to leverage JavaScript testing unit techniques to take their development skills to the next level. Along the way, we’ll setup a JavaScript development environment for a typical JavaScript project.
About Tom Marrs
Tom Marrs is a Technical Architect at Perficient, where he specializes in RESTful Web Services and Service-Oriented Architecture (SOA). He designs and implements mission-critical web and business applications using the latest SOA, Ruby on Rails, JSON, HTML5, JavaScript, Java/EE, and Open Source technologies.
Tom is the author of the JSON Refcard for DZone, and the upcoming book, JSON at Work for O’Reilly. Tom is also a speaker at the Great Indian Developer Summit (GIDS) conference.
An active participant in the local technical community, Tom helps emcee at the HTML5 Denver User Group, helped found the Denver Open Source User Group (DOSUG), has served as President of the Denver Java Users Group (DJUG), and speaks at other local user groups.
More About Tom »