View Full Version : Unit Testing
rgoff
09-25-2006, 08:33 AM
Just curious, as a pro with JavaScript, how do you do unit testing? Do you have one or more pages that display all the elements of your library? Do you have a log of success/failure with the base YUI classes?
Bob
jack.slocum
09-25-2006, 09:02 AM
Yes, I have a set of pages that display most features possible with each component. I do a full sweep before every release. I'm not sure how much longer that will suffice though because the library is growing quickly.
Other than that I depend on feedback and generally get things fixed quickly.
tohagan
09-17-2007, 12:08 AM
Jack,
I've just been surfing looking for JS test frameworks to use with Ext and stumbled on this interesting solution:
http://www.jroller.com/verySimpleSolutions/entry/sjax_ajax_option_for_automated
Have you ever considered something like this? I guess it would ideally be integrated into Ext's XHR wrapper. I wondered if this might help solve some of the complexities I hear you're experiencing in testing Ext 2.0+ . I don't have much JS testing experience so I'd be very interested in your feedback.
Tony.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.