unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Writing ERT tests for asynchronous events
@ 2014-01-02 10:43 Alex Bennée
  2014-01-02 11:41 ` Michael Albinus
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Bennée @ 2014-01-02 10:43 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

Hi,

Is there any support in ERT for things that have asynchronous behaviour?

For example I want my test to kick off something using a url fetch
(against a server running in the same emacs) and then once the
transaction has completed test things have worked as expected
using the ert operators.

If I can't do this is might be simpler to hook in bellow the network
processing bits but in that case I need create a mock process buffer to
represent the network connection process. What's the best way to do that?


Cheers,

--
Alex Bennée
http://www.bennee.com/~alex




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-02 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-02 10:43 Writing ERT tests for asynchronous events Alex Bennée
2014-01-02 11:41 ` Michael Albinus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).