<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi,<br>
<br>
I use Active-Ring (<a class="moz-txt-link-freetext" href="https://github.com/extremeforge/active-ring">https://github.com/extremeforge/active-ring</a>) to
develop in TDD with Erlang and Emacs.<br>
In normal use my emacs's screen is split into 3 parts<br>
- one for the test module<br>
- one for the tested module<br>
- one for the continuous test results<br>
<br>
In this depot there is an emacs-plugin to run the test in emacs.
This plugin bind the emacs's compile command to run tests into
emacs.<br>
<br>
For more information you could read the README.<br>
<br>
Fabrice Nourisson<br>
<br>
Le 02/03/2012 00:24, Jayson Barley a écrit :
<blockquote
cite="mid:CAE_Sc9+Bo9YOBjY4eVn3uhxjoXDJk_PbOUBQw=eXroJa35tOZw@mail.gmail.com"
type="cite">I am wondering if anyone has any recommendations for a
smoother TDD experience with Erlang and Emacs. I am finding the
process to be less than optimal. The way I am doing it now is that
I have 3 windows open. <br>
<ol>
<li>In my test module I write my test</li>
<li>Switch to the Erlang buffer</li>
<li>Run my tests, see that it fails</li>
<li>Switch to the module under test buffer, write code to get
the test to pass</li>
<li>Switch back to the Erlang buffer, run my tests again</li>
<li>
Switch back to the test buffer and repeat. </li>
</ol>
Ideally I would like to have 2 windows open, 1 for the module
under test and the other for the test window. From the module
under test buffer or the test module I should be able to run the
tests, see that they pass or fail and then move on.I have been
considering writing an plugin to handle this functionality for me.
Before I go that route I want to make sure I am not duplicating
what someone else has already done.<br>
<br>
Does anyone have any recommendations for how to do this better?<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
</body>
</html>