Myself and Simone have been in discussions about creating a jQuery plugin for many months now. With real life, time on both parts hasn’t been on our side. Simone has co-authored a MVC book entitled “Beginning ASP.NET MVC”. I’ve been busy with work, getting fit, holidays, and other projects (more details coming soon).
We’ve both now managed to make a start on the plugin which resulted in me looking at unit testing frameworks for JavaScript. I was quite surprised to find the amount I did hence this short and sweet post.
List of JavaScript testing frameworks
- QUnit – jQuery testrunner – http://docs.jquery.com/QUnit
- JsUnit – port of JUnit to JavaScript – http://www.jsunit.net/
- JsUnitTest – http://jsunittest.com/
- Yahoo UI library – YUI Test – http://developer.yahoo.com/yui/yuitest/
- UnitJS – http://www.codeproject.com/KB/scripting/UnitJS.aspx
With the project being jQuery orientated we’re going to use QUnit for our testing needs. As a personal learning curve I am going to play about with YUI test suite and JsUnit framework on some other projects. I would like to compare the differences, advantages and disadvantages to using each one.
1 Comment
Ben
You should look at Fireunit, http://www.softwareishard.com/…/fireunit-testing-in-...
home page is http://fireunit.org/