Yep, that's precisely it. We have a couple PHP scripts which can be
made to spit back different things (XML, HTML, text) and add various
delays to simulate network traffic. We don't include cross-domain
tests but that's mostly because we'd rather not rely on the quality of
someone else's server/network connection when running the tests.

--John



On Thu, Apr 2, 2009 at 2:46 PM, Julian Aubourg <aubourg.jul...@gmail.com> wrote:
> Hi all,
> I'm turning to you once more for a problem I think you can help me with.
> So far, for my jsonp plugin (for those who don't know of
> it: http://code.google.com/p/jquery-jsonp/), I just made a simple test page
> using the YouTube data API. I have the plugin working in production so I
> know it's solid but, unfortunately, the site I use it on doesn't cover the
> whole feature set.
> So, I'd like to have unit tests for $.jsonp() and was curious as to how you
> would construct such tests. The main issue I have is that it involves
> network traffic. How were the $.ajax unit tests constructed? Is there some
> sort of server-side code to test timeouts or programmatic aborts?
> Any hint is welcome :)
> -- Julian
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to