title: testing interactive python programs
body: <p>I would like to know which testing tools for python support the testing of interactive programs. For example, I have an application launched by:</p>
  
  <pre><code>$ python dummy_program.py 
  
  &gt;&gt; Hi whats your name? Joseph
  </code></pre>
  
  <p>I would like to instrument <code>Joseph</code> so I can emulate that interactive behaviour.</p>