Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  1. Code
  2. JavaScript

Techniques For Test-Driving jQuery Plugins

Read Time:1 minLanguages:

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!


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!

Looking for something to help kick start your next project?
Envato Market has a range of items for sale to help get you started.