Just to clarify, I don't think I want to mock those calls.  I believe it
makes more sense to have the front-end call a running server back-end and
get real data.  Can this be set up and executed from a test suite, short of
running a server in one console, and then the clojurescript test suite in
another?  That seems kludgy.

On Tue, Apr 7, 2015 at 3:34 PM David Nolen <[email protected]> wrote:

>
> http://docs.closure-library.googlecode.com/git/class_goog_testing_net_XhrIo.html
>
> There's a bunch of stuff under the goog.testing namespace.
>
> David
>
> On Tue, Apr 7, 2015 at 3:29 PM, Jonathon McKitrick <[email protected]>
> wrote:
>
>> I currently use lein test aliases to run server-side tests and
>> client-side tests.  But that currently means my client-side AJAX calls are
>> either mocked or just return fixture data.
>>
>> How can I run client-side tests which will actually call a running
>> instance of the server to test live data?
>>
>
>> --
>> Note that posts from new members are moderated - please be patient with
>> your first post.
>> ---
>>
> You received this message because you are subscribed to the Google Groups
>> "ClojureScript" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>
>
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/clojurescript.
>>
>  --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "ClojureScript" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojurescript/rArkEBCRods/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to