Advertisement

Techniques For Test-Driving jQuery Plugins

by
Student iconAre you a student? Get a yearly Tuts+ subscription for $45 →

In this hands-on screencast, from scratch, we'll use test-driven development to build a jQuery plugin. Along the way, we'll take advantage of Grunt, QUnit, and GitHub to build, test, and distribute our plugin, respectively. If the idea of testing in JavaScript is still foreign to you, you won't find a better introduction!


You'll Learn How To:

  • Use Ben Alman's Grunt build tool to expedite the process of generating and building new plugins
  • Take a test-driven approach to creating jQuery plugins - using QUnit
  • Distribute code in seconds with GitHub
  • Of course, you're also likely to pick up a variety of other neat tips and tricks along the way!

Screencast



Closing Notes

Hopefully, I was able to explain these concepts clearly enough. If you had trouble understanding at any point, just leave a comment below, and I'll do my best to clarify things!

Advertisement