jquery/qunit — pull request #295 by dotnetCarpenter (2012-08-08 20:20:30+00:00)
Title: Addon interface - A QUnit Addon For Testing Object Structure

As a front end developer you are at the mercy of server-side devs providing, and most importantly NOT subsequently altering, the structure of your data objects.
Getting told that your work doesn't work because someone changed a name of a property at the server or even database level is never fun.
**Interface** comes to the rescue!

As a side note, why it it not possible to write add-ons that testers can use without QUnit as qualifier? E.G. in Interface you can not write `equalStructure` but has to write `QUnit.equalStructure`. Looking through the other add-ons this seem to be the case there too. I've copied the code structure pretty much from the _close-enough_ add-on.

I thought about testing for value types but as JavaScript is a dynamic it doesn't make sense. Perhaps for functions though.

Anyway, I need a review on this and will cleanup and repush after.