Testing jQuery.kinetic with Grunt and qUnit
I needed to add automated tests to jQuery.kinetic
I released jQuery.kinetic, a while ago. It’s a simple jQuery plugin which adds smooth scrolling and decelleration to containers.
I built a series of manual test pages to make sure that subsequent releases didn’t break the functionality but with recent requests for updates I decided to investigate writing some automated tests to catch potential issues quicker.
The issue with writing automated tests for this plugin is the fact that it’s functionality is based on mouse and touch drag movements.
Dave Taylor - Software Engineer