Advertisement
JavaScript & AJAX

Techniques for Test-Driving Your JavaScript: New on Premium

by

In this hands-on Premium 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!

Become a Tuts+ Premium member to watch this 45 minute screencast, as well as hundreds of other advanced videos, tutorials, and courses.


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 likely to pick up a variety of other neat tips and tricks along the way!


Tuts+ Premium

The recently re-launched Tuts+ Premium is a service that provides top-tier training in a variety of creative fields. Whether you prefer books, visual training, or in depth tutorials, we have you covered. While we unfortunately can't afford to provide the service for free, it's only $19 a month - less than you'd spend on dinner.

I hope you'll consider checking it out! In addition to learning a huge variety of new skills, it's also a fantastic way to say thank you to Nettuts+.

Related Posts
  • Code
    Creative Coding
    Advanced Grunt TechniquesGrunt logo 400
    In a previous post in this series, I walked you through setting up Grunt in your project. Now that we have everything setup, I would like to talk about a few advanced techniques that you can use with Grunt. Specifically, I'm going to focus on the configuration of your existing tasks and how to create custom tasks.Read More…
  • Code
    WordPress
    How Grunt Can Improve WordPress DevelopmentGrunt logo 400
    In the first part of this series I gave a quick overview of Grunt. I also talked through the different technologies that it requires in order to use. After that, I got a little into the Gruntfile and the tasks inside of it. Now I want to talk about how using Grunt can improve your development for both WordPress themes and plugins.Read More…
  • Code
    Creative Coding
    An Introduction To GruntGrunt logo 400
    Today, most front end web developers spend a lot of time with technologies like Sass, LESS, HTML and JavaScript. The last couple of years have been an exciting time in web development and technologies like Grunt have contributed to said excitement. In this series, I plan on introducing you to Grunt and to talk about how it can improve our development of WordPress themes and plugins. We'll also work to setup Grunt to prepare it for use in your next project. Finally, we'll take a look at the command line tools, as well.Read More…
  • Code
    JavaScript & AJAX
    Ember.js TestingEmber components retina preview
    When I started playing around with Ember.js almost a year ago, the testability story left something to be desired. You could unit test an object without any trouble, but a unit test is only one way to get feedback when you're building a software product. In addition to unit tests, I wanted a way to verify the integration of multiple components. So like most people testing rich JavaScript applications, I reached for the mother of all testing tools, Selenium.Read More…
  • Web Design
    HTML/CSS
    Hi-Performance Web Design with Data URIs – New on PremiumPreview
    In today's Premium tutorial, we're going to be taking some of the theory covered in our Data URI introductory article, building upon some of the examples used to develop a fully realized user interface. Just to keep things interesting, we'll also be making our design responsive and we'll be using the Dribbble API and jQuery to pull in some images from the Envato Dribbble feed.Read More…
  • Code
    JavaScript & AJAX
    Techniques For Test-Driving jQuery PluginsCode
    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!Read More…