I was wondering if anyone could provide me information, perhaps some example code, on how to unit test tooltips? The framework is no issue, I am free to use any kind of Javascript/JQuery framework there is available (Jasmine, Qunit etc). The hard part is that I can not really find a good example of how tooltips (which their scripts is called asynchronously) are tested.
So any example regarding unit testing JQuery UI tooltip or other external libraries (qtip etc) would be really helpfull.
The jQuery team uses Qunit for their testing. When I work on jQuery plugins, I tend to use the same tools. Here is an example test in Qunit: