How do you guys test jQuery UI components?  If you’re reading this,
you’re probably an expert JS developer, so you know how much the state
of JavaScript testing sucks.

Developers generally neglect JS testing because there’s really nothing
out there that let's you simulate user interactions easily.  So we
built the Test plugin for JavaScriptMVC (http://javascriptmvc.com/
learningcenter/test/index.html) to do just that.

It lets you simulate every major DOM event, as well as some
combination events like Write and Drag, simulate Ajax, and use
assertions.  It runs functional and unit tests in a separate console
window.  Best of all, it is interdependent with jQuery.  We’ve been
using it to test our JS UI widgets, and I think it could be very
useful for doing the same for jQuery and jQuery UI widgets.

I’d love to hear feedback on it (as brutally honest as possible).  Is
better testing something jQuery developers are craving?

Cheers,
Brian Moschel

Reply via email to