Hello Stephen,<div><br></div><div>have you had a look at:</div><div><br></div><div>Ecukes: <a href="https://github.com/rejeep/ecukes">https://github.com/rejeep/ecukes</a></div><div>Espuds: <a href="https://github.com/rejeep/espuds">https://github.com/rejeep/espuds</a></div>
<div><br></div><div>Think of it as Cucumber for Emacs, where you write the steps with Espuds and Ecukes runs them. Here is a sample use:</div><div><a href="https://github.com/rejeep/ruby-end/blob/master/features/ruby-end.feature#L1">https://github.com/rejeep/ruby-end/blob/master/features/ruby-end.feature#L1</a><br>
</div><div><br></div><div>I supposed you could test the interaction with the tool if you ran it in Emacs' eshell...</div><div><br></div><div>Hope it helps,</div><div>Aleksandar</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Nov 5, 2012 at 7:38 AM, Stephen Nelson-Smith <span dir="ltr"><<a href="mailto:sanelson@gmail.com" target="_blank">sanelson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Suppose one wanted to write a test which verified how a piece of<br>
interactive software behaved - ie how it responded to keyboard input.<br>
Pretty trivial, right?  I've used PTY and also greenletters before for<br>
basic 'expect'-like tests.<br>
<br>
However, I'm thinking more along the lines of testing customisations<br>
or minor/major modes for Emacs or Vimscripts, or indeed custom config<br>
for any interactive tool.  They don't need to be hugely sophisticated<br>
tests, but something that at least verifies that the code under test<br>
doesn't generate an error, or that it does one simple, indicative<br>
feature would be handy.<br>
<br>
Has anyone been mad enough to try this before?  Any ideas?<br>
<br>
S.<br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>