Hi, I commited a few major QUnit updates: We now have a deep recursive assertion called "same" that compares primitive types, objects and arrays. Usage is the same as for equals, though its much more precise than equals, as it uses !== to compare primitive values, while equals uses !=. Details and examples in the documentation: http://docs.jquery.com/QUnit/same The previous compare and compare2 functions (in additiona to serialArray) are now deprecated and throw a (helpful) error when used. Credits go to Philippe Rathé, who implemented the comparison and wrote a bunch of tests (using QUnit).
In addition, I integrated Ariel's jsDump (http://flesler.blogspot.com/2008/05/jsdump-pretty-dump-of-any-javascript.html) into the testrunner.js that outputs the objects from failed tests, giving you much more helpful feedback. Maybe even more useful: The testrunner now includes a toolbar with a "Hide passed tests" checkbox (more to come, maybe), that makes it easier to foucs on failed tests by hiding everything that passed. A small feature returning from the void: stop() now supports an optional timeout argument. Should be avoided, but can be helpful to debug failing async tests. Details in the docs: http://docs.jquery.com/QUnit/stop I've also included some contact info on the documentation page: http://docs.jquery.com/QUnit#About If any test of your testsuite fails due to the updated, please contact me with an online copy of the test. I'll look into it. Regards Jörn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
